aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 12:38:17 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 12:38:17 -0700
commit1f8c2eaf90ca563d21b27df8e9bede10bd6f4891 (patch)
tree0a2ed81ca6683dab6515e87a4d24f67123a0b7a8
parent2915ddf1dcdca8c427be83e8cca5d40150c7cd45 (diff)
downloadvcpkg-1f8c2eaf90ca563d21b27df8e9bede10bd6f4891.tar.gz
vcpkg-1f8c2eaf90ca563d21b27df8e9bede10bd6f4891.zip
[fmt] Mark as not supporting dynamic building
-rw-r--r--ports/fmt/portfile.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/fmt/portfile.cmake b/ports/fmt/portfile.cmake
index 4e1c69903..a265da175 100644
--- a/ports/fmt/portfile.cmake
+++ b/ports/fmt/portfile.cmake
@@ -1,3 +1,7 @@
+include(${CMAKE_TRIPLET_FILE})
+if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
+ message(FATAL_ERROR "Dynamic building not supported yet")
+endif()
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/fmt-3.0.0)
vcpkg_download_distfile(ARCHIVE_FILE