aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 14:43:59 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 14:43:59 -0700
commit34d13f11e7d681f4d66d45241178edefc99e781e (patch)
tree2ab711fea59c2eb591d53f1847514095af1b6e0f
parent828d58fd6ecdb1aace5711008e010a07cce57268 (diff)
downloadvcpkg-34d13f11e7d681f4d66d45241178edefc99e781e.tar.gz
vcpkg-34d13f11e7d681f4d66d45241178edefc99e781e.zip
[glog] Mark as not supporting static building yet
-rw-r--r--ports/glog/portfile.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/glog/portfile.cmake b/ports/glog/portfile.cmake
index 1790d8649..daefd3c5e 100644
--- a/ports/glog/portfile.cmake
+++ b/ports/glog/portfile.cmake
@@ -7,6 +7,9 @@
#
include(${CMAKE_TRIPLET_FILE})
+if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
+ message(FATAL_ERROR "Static building not supported yet. Portfile needs modification and also blocked by flags")
+endif()
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/glog-0472b91c5defdf90cff7292e3bf7bd86770a9a0a)
vcpkg_download_distfile(ARCHIVE