diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-11-08 15:09:56 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-11-08 15:09:56 -0800 |
| commit | dbab03a1a82913ae96bfa3c1613ade20b5ac438d (patch) | |
| tree | 8086e4554c7902d6b0a3a0079425785e4eec5141 /ports/cryptopp | |
| parent | 2e7b260b32454d32fb10cc9d838409f82c7744b8 (diff) | |
| parent | 218cae4503749134f4827b3e71fbf22a956d4dc3 (diff) | |
| download | vcpkg-dbab03a1a82913ae96bfa3c1613ade20b5ac438d.tar.gz vcpkg-dbab03a1a82913ae96bfa3c1613ade20b5ac438d.zip | |
Merge branch 'postbuild'
Diffstat (limited to 'ports/cryptopp')
| -rw-r--r-- | ports/cryptopp/portfile.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ports/cryptopp/portfile.cmake b/ports/cryptopp/portfile.cmake index 1fc1e4ebd..4847c208b 100644 --- a/ports/cryptopp/portfile.cmake +++ b/ports/cryptopp/portfile.cmake @@ -1,6 +1,6 @@ -include(${CMAKE_TRIPLET_FILE}) if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic) - message(FATAL_ERROR "Dynamic building not supported") # See note below + message(STATUS "Warning: Dynamic building not supported. Building static.") # See note below + set(VCPKG_LIBRARY_LINKAGE static) endif() include(vcpkg_common_functions) set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/cryptopp-CRYPTOPP_5_6_5) @@ -37,8 +37,8 @@ file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/cryptest.exe) file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/cryptest.exe) # Remove other files not required in package -file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib/cmake) -file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib/cmake) +file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib/cmake) +file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib/cmake) # Handle copyright file(COPY ${SOURCE_PATH}/License.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/cryptopp) |
