aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 14:27:50 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 14:27:50 -0700
commit19cc2a482c234fc03409c8cbb7502dcf0a85d443 (patch)
treebc65bf2501e0577e5b1af7fa060703eea663b83c
parent5a8aaa6dfc544cc1a8c4b6ca30eab4def6389bb1 (diff)
downloadvcpkg-19cc2a482c234fc03409c8cbb7502dcf0a85d443.tar.gz
vcpkg-19cc2a482c234fc03409c8cbb7502dcf0a85d443.zip
[glfw3] Mark as not supporting static building
-rw-r--r--ports/glfw3/portfile.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/glfw3/portfile.cmake b/ports/glfw3/portfile.cmake
index 8c0a90601..f2aa28e04 100644
--- a/ports/glfw3/portfile.cmake
+++ b/ports/glfw3/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/glfw-3.2.1)
vcpkg_download_distfile(ARCHIVE