aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 15:31:12 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 15:31:26 -0700
commitb91df2281cab654e106d8c14132e3644a8d59e6a (patch)
treee7a05d55643536d814ed4c26b6c27e37ef98c006
parent42f180e5608322b180897bda1aeb877380e56ebb (diff)
downloadvcpkg-b91df2281cab654e106d8c14132e3644a8d59e6a.tar.gz
vcpkg-b91df2281cab654e106d8c14132e3644a8d59e6a.zip
[gtest] Mark as not supporting static yet
-rw-r--r--ports/gtest/portfile.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/gtest/portfile.cmake b/ports/gtest/portfile.cmake
index 710736d0d..f798310ad 100644
--- a/ports/gtest/portfile.cmake
+++ b/ports/gtest/portfile.cmake
@@ -1,3 +1,7 @@
+include(${CMAKE_TRIPLET_FILE})
+if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
+ message(FATAL_ERROR "Static building not supported yet")
+endif()
include(vcpkg_common_functions)
find_program(GIT git)