aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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