From dbbab2a9a3ecd17342aa0fa6d51cd7a51a273e19 Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Sat, 16 Jun 2018 13:43:01 -0700 Subject: [PATCH] [benchmark] Enable static CRT linkage --- ports/benchmark/portfile.cmake | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ports/benchmark/portfile.cmake b/ports/benchmark/portfile.cmake index d370a6991f..4528caa3b7 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()