aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2018-04-30 15:53:00 -0700
committerRobert Schumacher <roschuma@microsoft.com>2018-05-01 01:41:44 -0700
commit39d38f5aea18ef78e71a380a577970af97cbb38f (patch)
tree3bc19106ed994596f34e05541600be90dfb68a81
parent793019b9cd362aefac06cd7f94d6e6db77d31b69 (diff)
downloadvcpkg-39d38f5aea18ef78e71a380a577970af97cbb38f.tar.gz
vcpkg-39d38f5aea18ef78e71a380a577970af97cbb38f.zip
[poco] Suffix binaries with mt when building against static CRT
-rw-r--r--ports/poco/CONTROL2
-rw-r--r--ports/poco/portfile.cmake2
2 files changed, 3 insertions, 1 deletions
diff --git a/ports/poco/CONTROL b/ports/poco/CONTROL
index e979e2247..c3d177430 100644
--- a/ports/poco/CONTROL
+++ b/ports/poco/CONTROL
@@ -1,5 +1,5 @@
Source: poco
-Version: 1.8.1-1
+Version: 1.8.1-2
Build-Depends: zlib, pcre, sqlite3, expat
Description: Modern, powerful open source C++ class libraries for building network and internet-based applications that run on desktop, server, mobile and embedded systems.
diff --git a/ports/poco/portfile.cmake b/ports/poco/portfile.cmake
index 399f1a064..1ea06d4ff 100644
--- a/ports/poco/portfile.cmake
+++ b/ports/poco/portfile.cmake
@@ -18,6 +18,7 @@ vcpkg_apply_patches(
)
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" POCO_STATIC)
+string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" POCO_MT)
if("mysql" IN_LIST FEATURES)
# enabling MySQL support
@@ -31,6 +32,7 @@ vcpkg_configure_cmake(
PREFER_NINJA
OPTIONS
-DPOCO_STATIC=${POCO_STATIC}
+ -DPOCO_MT=${POCO_MT}
-DENABLE_SEVENZIP=ON
-DENABLE_TESTS=OFF
-DPOCO_UNBUNDLED=ON # OFF means: using internal copy of sqlite, libz, pcre, expat, ...