diff options
| -rw-r--r-- | ports/qpid-proton/portfile.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ports/qpid-proton/portfile.cmake b/ports/qpid-proton/portfile.cmake index 91be9aae3..65189c496 100644 --- a/ports/qpid-proton/portfile.cmake +++ b/ports/qpid-proton/portfile.cmake @@ -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 |
