[cppcms] Disable static linkage

This commit is contained in:
Robert Schumacher 2017-07-12 15:00:02 -07:00
parent 2c13232c08
commit c009c53725

View File

@ -1,5 +1,14 @@
include(vcpkg_common_functions)
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
message(STATUS "cppcms doesn't support static linkage. Building dynamic instead.")
set(VCPKG_LIBRARY_LINKAGE dynamic)
endif()
if(VCPKG_CRT_LINKAGE STREQUAL static)
message("cppcms doesn't support static CRT linkage.")
endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO artyom-beilis/cppcms