File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -413,14 +413,7 @@ if(BUILD_googletest)
413413 set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
414414 set(INSTALL_GTEST OFF)
415415 set(GTEST_HAS_ABSL ON)
416- if(WIN32)
417- set(BUILD_SHARED_LIBS OFF)
418- endif()
419416 FetchContent_MakeAvailable(googletest)
420- if(WIN32)
421- set(BUILD_SHARED_LIBS ON)
422- endif()
423-
424417 list(POP_BACK CMAKE_MESSAGE_INDENT)
425418 message(CHECK_PASS "fetched")
426419endif()
@@ -438,13 +431,7 @@ if(BUILD_benchmark)
438431 set(BENCHMARK_ENABLE_TESTING OFF)
439432 set(BENCHMARK_ENABLE_WERROR OFF)
440433 set(BENCHMARK_ENABLE_INSTALL OFF)
441- if(WIN32)
442- set(BUILD_SHARED_LIBS OFF)
443- endif()
444434 FetchContent_MakeAvailable(benchmark)
445- if(WIN32)
446- set(BUILD_SHARED_LIBS ON)
447- endif()
448435 list(POP_BACK CMAKE_MESSAGE_INDENT)
449436 message(CHECK_PASS "fetched")
450437endif()
You can’t perform that action at this time.
0 commit comments