aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-07-07 23:12:54 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-07-07 23:12:54 -0700
commitc297ee9848453ce85d272c3f5f0ddf382dce027d (patch)
tree06560c1bf24e30de93268d2df9d4622c5eea9b0f
parent426df16b57c325928e6d587dc385dc836712a6b1 (diff)
downloadvcpkg-c297ee9848453ce85d272c3f5f0ddf382dce027d.tar.gz
vcpkg-c297ee9848453ce85d272c3f5f0ddf382dce027d.zip
[protobuf] Hotfix previous change. Fixes #1409.
-rw-r--r--ports/protobuf/CONTROL2
-rw-r--r--ports/protobuf/portfile.cmake4
2 files changed, 3 insertions, 3 deletions
diff --git a/ports/protobuf/CONTROL b/ports/protobuf/CONTROL
index 2ba75ed23..192b57f96 100644
--- a/ports/protobuf/CONTROL
+++ b/ports/protobuf/CONTROL
@@ -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 \ No newline at end of file
diff --git a/ports/protobuf/portfile.cmake b/ports/protobuf/portfile.cmake
index 52574ecee..11a06ccd7 100644
--- a/ports/protobuf/portfile.cmake
+++ b/ports/protobuf/portfile.cmake
@@ -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()