diff options
| author | atkawa7 <atkawa7@yahoo.com> | 2017-07-07 22:41:34 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-07 22:41:34 -0700 |
| commit | 8cd9b24ee41df6b0582e6a98a31c997539c478f8 (patch) | |
| tree | af0132b89429d9c1939db2145ab0d15a10e156a7 | |
| parent | 426df16b57c325928e6d587dc385dc836712a6b1 (diff) | |
| download | vcpkg-8cd9b24ee41df6b0582e6a98a31c997539c478f8.tar.gz vcpkg-8cd9b24ee41df6b0582e6a98a31c997539c478f8.zip | |
[protobuf] Fix protobuf missing semi colons #1409
| -rw-r--r-- | ports/protobuf/portfile.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ports/protobuf/portfile.cmake b/ports/protobuf/portfile.cmake index 52574ecee..07b7ea3aa 100644 --- a/ports/protobuf/portfile.cmake +++ b/ports/protobuf/portfile.cmake @@ -88,11 +88,11 @@ 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}) + file(WRITE ${FILE} "${_contents}") endforeach() file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/protobuf RENAME copyright) |
