[mongo-cxx-driver] there is a failure on link stage, cannot build static, warn and then build dynamic

This commit is contained in:
sdcb 2016-11-21 18:04:18 +08:00
parent 260f5f20c3
commit 686fef9bfe

View File

@ -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)