From 1de1cec3729846a7d7e599ba1ac82d4eba441180 Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Tue, 25 Oct 2016 19:04:07 -0700 Subject: [PATCH] [ace] Add check for static building --- ports/ace/portfile.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ports/ace/portfile.cmake b/ports/ace/portfile.cmake index 40becf8aa..4838afc42 100644 --- a/ports/ace/portfile.cmake +++ b/ports/ace/portfile.cmake @@ -1,3 +1,7 @@ +include(${CMAKE_TRIPLET_FILE}) +if (VCPKG_LIBRARY_LINKAGE STREQUAL static) + message(FATAL_ERROR "Static building not supported yet") +endif() include(vcpkg_common_functions) set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/ACE_wrappers/ace) vcpkg_download_distfile(ARCHIVE