aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/curl/portfile.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/curl/portfile.cmake b/ports/curl/portfile.cmake
index 4c1a7bf3a..4207a27cc 100644
--- a/ports/curl/portfile.cmake
+++ b/ports/curl/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/curl-7.48.0)
vcpkg_download_distfile(ARCHIVE_FILE