mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 11:07:10 +01:00
[protobuf] Hotfix previous change. Fixes #1409.
This commit is contained in:
parent
426df16b57
commit
c297ee9848
@ -1,4 +1,4 @@
|
||||
Source: protobuf
|
||||
Version: 3.3.0-2
|
||||
Version: 3.3.0-3
|
||||
Build-Depends: zlib
|
||||
Description: Protocol Buffers - Google's data interchange format
|
@ -88,9 +88,9 @@ endif()
|
||||
foreach(FILE ${CURRENT_PACKAGES_DIR}/include/google/protobuf/arena.h ${CURRENT_PACKAGES_DIR}/include/google/protobuf/stubs/port.h)
|
||||
file(READ ${FILE} _contents)
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
string(REPLACE "defined(PROTOBUF_USE_DLLS)" "1" _contents ${_contents})
|
||||
string(REPLACE "defined(PROTOBUF_USE_DLLS)" "1" _contents "${_contents}")
|
||||
else()
|
||||
string(REPLACE "defined(PROTOBUF_USE_DLLS)" "0" _contents ${_contents})
|
||||
string(REPLACE "defined(PROTOBUF_USE_DLLS)" "0" _contents "${_contents}")
|
||||
endif()
|
||||
file(WRITE ${FILE} ${_contents})
|
||||
endforeach()
|
||||
|
Loading…
x
Reference in New Issue
Block a user