aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-07-11 14:55:24 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-07-11 16:17:09 -0700
commitc27c8d294101971373f087b0d18ae693e18f5d69 (patch)
treee8e3e823b100e71c3557092dde34b20fc9420dd3
parentd887fa4a301aa9bdf87d746ee4d1bed57d827bb8 (diff)
downloadvcpkg-c27c8d294101971373f087b0d18ae693e18f5d69.tar.gz
vcpkg-c27c8d294101971373f087b0d18ae693e18f5d69.zip
[alembic] Disable static builds
-rw-r--r--ports/alembic/portfile.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/alembic/portfile.cmake b/ports/alembic/portfile.cmake
index 26fa79e9c..b57a1232d 100644
--- a/ports/alembic/portfile.cmake
+++ b/ports/alembic/portfile.cmake
@@ -1,5 +1,10 @@
include(vcpkg_common_functions)
+if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
+ message(STATUS "Alembic does not support static linkage. Building dynamically.")
+ set(VCPKG_LIBRARY_LINKAGE dynamic)
+endif()
+
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO alembic/alembic