From c297ee9848453ce85d272c3f5f0ddf382dce027d Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Fri, 7 Jul 2017 23:12:54 -0700 Subject: [protobuf] Hotfix previous change. Fixes #1409. --- ports/protobuf/CONTROL | 2 +- ports/protobuf/portfile.cmake | 4 ++-- 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() -- cgit v1.2.3