mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01:00
[cppcms] Disable static linkage
This commit is contained in:
parent
2c13232c08
commit
c009c53725
@ -1,5 +1,14 @@
|
|||||||
include(vcpkg_common_functions)
|
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(
|
vcpkg_from_github(
|
||||||
OUT_SOURCE_PATH SOURCE_PATH
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
REPO artyom-beilis/cppcms
|
REPO artyom-beilis/cppcms
|
||||||
|
Loading…
x
Reference in New Issue
Block a user