aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 19:38:19 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 19:38:19 -0700
commit031a1f5198bd663a3f367a76dda4a17134fe7ba5 (patch)
tree87af809c9a28ec656828ebc4f82d87f775d8a83a
parent8780989f37349802412f28b04134d65e639784c4 (diff)
downloadvcpkg-031a1f5198bd663a3f367a76dda4a17134fe7ba5.tar.gz
vcpkg-031a1f5198bd663a3f367a76dda4a17134fe7ba5.zip
[SDL2] Mark as not static ready
-rw-r--r--ports/sdl2/portfile.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/sdl2/portfile.cmake b/ports/sdl2/portfile.cmake
index bfd4a8f63..d6e53b491 100644
--- a/ports/sdl2/portfile.cmake
+++ b/ports/sdl2/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/SDL2-2.0.4)
vcpkg_download_distfile(ARCHIVE_FILE