From c27c8d294101971373f087b0d18ae693e18f5d69 Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Tue, 11 Jul 2017 14:55:24 -0700 Subject: [alembic] Disable static builds --- ports/alembic/portfile.cmake | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3