aboutsummaryrefslogtreecommitdiff
path: root/ports/glog
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/glog
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/glog')
-rw-r--r--ports/glog/portfile.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/glog/portfile.cmake b/ports/glog/portfile.cmake
index c9f6bfa43..4895be694 100644
--- a/ports/glog/portfile.cmake
+++ b/ports/glog/portfile.cmake
@@ -7,7 +7,8 @@
#
if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
- message(FATAL_ERROR "Static building not supported yet. Portfile needs modification and also blocked by flags")
+ 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/glog-0472b91c5defdf90cff7292e3bf7bd86770a9a0a)