aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 12:55:30 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 12:55:30 -0700
commit2058ea54a691a3752003005cd555db5b3e08f128 (patch)
treed258add01a2a6d1ea22942b57ef2d1c09cd78873
parent98b270b8be506f6c9c91c5aa80e4769b9b5455a6 (diff)
downloadvcpkg-2058ea54a691a3752003005cd555db5b3e08f128.tar.gz
vcpkg-2058ea54a691a3752003005cd555db5b3e08f128.zip
[freetype] Mark as not supporting static yet
-rw-r--r--ports/freetype/portfile.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/freetype/portfile.cmake b/ports/freetype/portfile.cmake
index f0d5728f6..ec462d611 100644
--- a/ports/freetype/portfile.cmake
+++ b/ports/freetype/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/freetype-2.6.3)
vcpkg_download_distfile(ARCHIVE