diff options
Diffstat (limited to 'ports/cppcms')
| -rw-r--r-- | ports/cppcms/portfile.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ports/cppcms/portfile.cmake b/ports/cppcms/portfile.cmake index 6a4c8e578..30371b6f8 100644 --- a/ports/cppcms/portfile.cmake +++ b/ports/cppcms/portfile.cmake @@ -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 |
