aboutsummaryrefslogtreecommitdiff
path: root/ports/fmt
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-11-08 14:38:47 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2016-11-08 14:38:47 -0800
commitcadee66ca2d8048d7d6449ed0472d091350a617f (patch)
treeadce12b2b66a4efd6bc89fb8d464962df2327b0c /ports/fmt
parent1808d461b0e8793445b87eb8ceed71d5ac7aca6e (diff)
downloadvcpkg-cadee66ca2d8048d7d6449ed0472d091350a617f.tar.gz
vcpkg-cadee66ca2d8048d7d6449ed0472d091350a617f.zip
If portfile is not static-enabled yet, warn and then build dynamic
The opposite if portfile is not dynamic enabled
Diffstat (limited to 'ports/fmt')
-rw-r--r--ports/fmt/portfile.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/fmt/portfile.cmake b/ports/fmt/portfile.cmake
index fab282959..6f9f42231 100644
--- a/ports/fmt/portfile.cmake
+++ b/ports/fmt/portfile.cmake
@@ -1,5 +1,6 @@
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
- message(FATAL_ERROR "Dynamic building not supported yet")
+ message(STATUS "Warning: Dynamic building not supported yet. Building static.")
+ set(VCPKG_LIBRARY_LINKAGE static)
endif()
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/fmt-3.0.0)