From 34d13f11e7d681f4d66d45241178edefc99e781e Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Wed, 26 Oct 2016 14:43:59 -0700 Subject: [PATCH] [glog] Mark as not supporting static building yet --- ports/glog/portfile.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ports/glog/portfile.cmake b/ports/glog/portfile.cmake index 1790d8649b..daefd3c5ef 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