build system: minor changes to make tests compile with VS
This commit is contained in:
@@ -21,6 +21,7 @@ else()
|
||||
|
||||
if(NOT googletest_POPULATED)
|
||||
FetchContent_Populate(googletest)
|
||||
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
|
||||
add_subdirectory(${googletest_SOURCE_DIR} ${googletest_BINARY_DIR})
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user