mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-04 03:09:07 +08:00
[cppcms] Disable static linkage
This commit is contained in:
parent
2c13232c08
commit
c009c53725
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user