aboutsummaryrefslogtreecommitdiff
path: root/ports/cryptopp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-11-08 14:38:47 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2016-11-08 14:38:47 -0800
commitcadee66ca2d8048d7d6449ed0472d091350a617f (patch)
treeadce12b2b66a4efd6bc89fb8d464962df2327b0c /ports/cryptopp
parent1808d461b0e8793445b87eb8ceed71d5ac7aca6e (diff)
downloadvcpkg-cadee66ca2d8048d7d6449ed0472d091350a617f.tar.gz
vcpkg-cadee66ca2d8048d7d6449ed0472d091350a617f.zip
If portfile is not static-enabled yet, warn and then build dynamic
The opposite if portfile is not dynamic enabled
Diffstat (limited to 'ports/cryptopp')
-rw-r--r--ports/cryptopp/portfile.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/cryptopp/portfile.cmake b/ports/cryptopp/portfile.cmake
index bdd4f9a12..4847c208b 100644
--- a/ports/cryptopp/portfile.cmake
+++ b/ports/cryptopp/portfile.cmake
@@ -1,5 +1,6 @@
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)