diff options
| author | atkawa7 <atkawa7@yahoo.com> | 2017-06-13 17:12:54 -0700 |
|---|---|---|
| committer | atkawa7 <atkawa7@yahoo.com> | 2017-06-13 17:12:54 -0700 |
| commit | aa83671a723da212e640990ef9b9efafccba8af1 (patch) | |
| tree | f50d482f3d2b4e3545a672eb58712ac553d272de /ports/redshell | |
| parent | 9a409006cf7ec63bebe0d9341799b5cb529155ae (diff) | |
| parent | 548ff8d3db47e83ebecc5b57dcbd63723cee7546 (diff) | |
| download | vcpkg-aa83671a723da212e640990ef9b9efafccba8af1.tar.gz vcpkg-aa83671a723da212e640990ef9b9efafccba8af1.zip | |
Merge https://github.com/Microsoft/vcpkg into live555
Diffstat (limited to 'ports/redshell')
| -rw-r--r-- | ports/redshell/portfile.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ports/redshell/portfile.cmake b/ports/redshell/portfile.cmake index c394d7013..d7fbec955 100644 --- a/ports/redshell/portfile.cmake +++ b/ports/redshell/portfile.cmake @@ -8,6 +8,15 @@ if (VCPKG_CMAKE_SYSTEM_NAME STREQUAL WindowsStore) message(FATAL_ERROR "Error: redshell does not support UWP builds.") endif() +if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") + message("Redshell only supports dynamic library linkage") + set(VCPKG_LIBRARY_LINKAGE "dynamic") +endif() + +if(NOT VCPKG_CRT_LINKAGE STREQUAL "dynamic") + message(FATAL_ERROR "Redshell only supports dynamic CRT linkage") +endif() + set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/redshell) vcpkg_from_github( |
