aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 12:34:46 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 12:34:46 -0700
commit2915ddf1dcdca8c427be83e8cca5d40150c7cd45 (patch)
tree999575f529e2272015b0b813625ecd6764e02fd2
parent164a3cd7697474c0795963bb99a7fd28f254f024 (diff)
downloadvcpkg-2915ddf1dcdca8c427be83e8cca5d40150c7cd45.tar.gz
vcpkg-2915ddf1dcdca8c427be83e8cca5d40150c7cd45.zip
[expact] Mark as not supporting static yet
-rw-r--r--ports/expat/portfile.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/expat/portfile.cmake b/ports/expat/portfile.cmake
index 7f547d091..c1c37046e 100644
--- a/ports/expat/portfile.cmake
+++ b/ports/expat/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/expat-2.1.1)
vcpkg_download_distfile(ARCHIVE_FILE