aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsdcb <sdflysha@qq.com>2016-11-21 18:04:18 +0800
committersdcb <sdflysha@qq.com>2016-11-21 18:04:18 +0800
commit686fef9bfe27665f7427812529bcb4143afa45ff (patch)
tree83fd0864de131a0872a0b3be06a8c5fa6b5c9f46
parent260f5f20c3eb741e6b4e91eb46cc18253615a56f (diff)
downloadvcpkg-686fef9bfe27665f7427812529bcb4143afa45ff.tar.gz
vcpkg-686fef9bfe27665f7427812529bcb4143afa45ff.zip
[mongo-cxx-driver] there is a failure on link stage, cannot build static, warn and then build dynamic
-rw-r--r--ports/mongo-cxx-driver/portfile.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/mongo-cxx-driver/portfile.cmake b/ports/mongo-cxx-driver/portfile.cmake
index f37913cdc..dc6a13caf 100644
--- a/ports/mongo-cxx-driver/portfile.cmake
+++ b/ports/mongo-cxx-driver/portfile.cmake
@@ -1,3 +1,8 @@
+if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
+ message(STATUS "Warning: Static building not supported yet. Building dynamic.") #Blocked by build failure
+ set(VCPKG_LIBRARY_LINKAGE dynamic)
+endif()
+
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/mongo-cxx-driver-r3.0.3)