aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2018-06-16 13:43:01 -0700
committerRobert Schumacher <roschuma@microsoft.com>2018-06-16 13:43:01 -0700
commitdbbab2a9a3ecd17342aa0fa6d51cd7a51a273e19 (patch)
tree23995504aa51e5f7edbb38fdf1c8433a938efebe
parentc6724beefd7dab1a218ae9a565fc214b5db98b30 (diff)
downloadvcpkg-dbbab2a9a3ecd17342aa0fa6d51cd7a51a273e19.tar.gz
vcpkg-dbbab2a9a3ecd17342aa0fa6d51cd7a51a273e19.zip
[benchmark] Enable static CRT linkage
-rw-r--r--ports/benchmark/portfile.cmake6
1 files changed, 1 insertions, 5 deletions
diff --git a/ports/benchmark/portfile.cmake b/ports/benchmark/portfile.cmake
index d370a6991..4528caa3b 100644
--- a/ports/benchmark/portfile.cmake
+++ b/ports/benchmark/portfile.cmake
@@ -2,11 +2,7 @@ if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
message(FATAL_ERROR "${PORT} does not currently support UWP")
endif()
-if(VCPKG_CRT_LINKAGE STREQUAL static)
- message(FATAL_ERROR "Google benchmark only supports dynamic crt linkage.")
-endif()
-
-if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
+if (VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
message(STATUS "Warning: Dynamic building not supported yet. Building static.")
set(VCPKG_LIBRARY_LINKAGE static)
endif()