aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 12:58:10 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 12:58:10 -0700
commite58373ee261ca24da70aff17cc584016540d2015 (patch)
tree9a5871e1d09b500ebe111ad1a91987ac81725d50
parent2058ea54a691a3752003005cd555db5b3e08f128 (diff)
downloadvcpkg-e58373ee261ca24da70aff17cc584016540d2015.tar.gz
vcpkg-e58373ee261ca24da70aff17cc584016540d2015.zip
[gflags] Mark as not supporting static yet
-rw-r--r--ports/gflags/portfile.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/gflags/portfile.cmake b/ports/gflags/portfile.cmake
index ca315ae31..cf353f4ed 100644
--- a/ports/gflags/portfile.cmake
+++ b/ports/gflags/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)
find_program(GIT git)