diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2016-11-17 00:35:33 -0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2016-11-17 00:35:33 -0800 |
| commit | 039cee135248e7667c4a8a8f5f8ec195bc726231 (patch) | |
| tree | 5c18b0582e3bc8ba6a5df8f7ff0b4fc63cea94df | |
| parent | 8782e7fdf07052d18480c110966680ab9f309d49 (diff) | |
| download | vcpkg-039cee135248e7667c4a8a8f5f8ec195bc726231.tar.gz vcpkg-039cee135248e7667c4a8a8f5f8ec195bc726231.zip | |
[poco] Revert removal of POCO_STATIC, I misread it as PCRE_STATIC :)
| -rw-r--r-- | ports/poco/portfile.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ports/poco/portfile.cmake b/ports/poco/portfile.cmake index d89323a2a..a707936c4 100644 --- a/ports/poco/portfile.cmake +++ b/ports/poco/portfile.cmake @@ -14,9 +14,16 @@ vcpkg_apply_patches( ${CMAKE_CURRENT_LIST_DIR}/config_h.patch ) +if(VCPKG_LIBRARY_LINKAGE STREQUAL static) + set(POCO_STATIC ON) +else() + set(POCO_STATIC OFF) +endif() + vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} OPTIONS + -DPOCO_STATIC=${POCO_STATIC} -DENABLE_SEVENZIP=ON -DENABLE_TESTS=OFF -DPOCO_UNBUNDLED=ON # OFF means: using internal copy of sqlite, libz, pcre, expat, ... |
