mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Extensions - Fix gtest branch change (#9014)
This commit is contained in:
parent
0321545098
commit
7f24dc2282
@ -157,7 +157,7 @@ endif()
|
|||||||
option(ENABLE_GTEST "ENABLE_GTEST" ON)
|
option(ENABLE_GTEST "ENABLE_GTEST" ON)
|
||||||
if (ENABLE_GTEST)
|
if (ENABLE_GTEST)
|
||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
FetchContent_Declare(googletest GIT_REPOSITORY https://github.com/google/googletest.git)
|
FetchContent_Declare(googletest GIT_REPOSITORY https://github.com/google/googletest.git GIT_TAG main)
|
||||||
# For Windows: Prevent overriding the parent project's compiler/linker settings
|
# For Windows: Prevent overriding the parent project's compiler/linker settings
|
||||||
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
|
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
|
||||||
FetchContent_MakeAvailable(googletest)
|
FetchContent_MakeAvailable(googletest)
|
||||||
|
Loading…
Reference in New Issue
Block a user