mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 11:58:03 +08:00
[benchmark] Enable static CRT linkage
This commit is contained in:
parent
c6724beefd
commit
dbbab2a9a3
@ -2,11 +2,7 @@ if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
|||||||
message(FATAL_ERROR "${PORT} does not currently support UWP")
|
message(FATAL_ERROR "${PORT} does not currently support UWP")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(VCPKG_CRT_LINKAGE STREQUAL static)
|
if (VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||||
message(FATAL_ERROR "Google benchmark only supports dynamic crt linkage.")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
|
||||||
message(STATUS "Warning: Dynamic building not supported yet. Building static.")
|
message(STATUS "Warning: Dynamic building not supported yet. Building static.")
|
||||||
set(VCPKG_LIBRARY_LINKAGE static)
|
set(VCPKG_LIBRARY_LINKAGE static)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user