aboutsummaryrefslogtreecommitdiff
path: root/ports/harfbuzz
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/harfbuzz
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/harfbuzz')
-rw-r--r--ports/harfbuzz/portfile.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/harfbuzz/portfile.cmake b/ports/harfbuzz/portfile.cmake
index 84aaed2a7..2603fdf0a 100644
--- a/ports/harfbuzz/portfile.cmake
+++ b/ports/harfbuzz/portfile.cmake
@@ -7,7 +7,8 @@
#
if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
- message(FATAL_ERROR "Static building not supported yet. Portfile not modified for static and blocked on freetype.")
+ message(STATUS "Warning: Static building not supported yet. Building dynamic.")
+ set(VCPKG_LIBRARY_LINKAGE dynamic)
endif()
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/harfbuzz-1.3.2)