aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)