mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01:00
[qpid-proton] Add early detection of invalid linkage settings
This commit is contained in:
parent
fb12a2287e
commit
a4ad384c93
@ -1,3 +1,12 @@
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
message("qpid-proton does not support static linkage. Building dynamically.")
|
||||
set(VCPKG_LIBRARY_LINKAGE "dynamic")
|
||||
endif()
|
||||
|
||||
if(VCPKG_CRT_LINKAGE STREQUAL "static")
|
||||
message(FATAL_ERROR "qpid-proton does not support static CRT linkage.")
|
||||
endif()
|
||||
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
# Use this throughout rather than literal string
|
||||
|
Loading…
x
Reference in New Issue
Block a user