From 686fef9bfe27665f7427812529bcb4143afa45ff Mon Sep 17 00:00:00 2001 From: sdcb Date: Mon, 21 Nov 2016 18:04:18 +0800 Subject: [PATCH] [mongo-cxx-driver] there is a failure on link stage, cannot build static, warn and then build dynamic --- ports/mongo-cxx-driver/portfile.cmake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ports/mongo-cxx-driver/portfile.cmake b/ports/mongo-cxx-driver/portfile.cmake index f37913cdcf..dc6a13caf0 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)