Skip to content

Commit

Permalink
Update Google test version (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
mingxwa authored Aug 9, 2024
1 parent 55ce488 commit b1c1fae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/proxyConfigVersion.cmake
include(CTest)
if (BUILD_TESTING)
include(FetchContent)
# gtest version release-1.11.0
# gtest version release-1.15.2
FetchContent_Declare(
googletest
URL https://github.com/google/googletest/archive/e2239ee6043f73722e7aa812a459f54a28552929.zip
URL https://github.com/google/googletest/archive/b514bdc898e2951020cbdca1304b75f5950d1f59.zip
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
)

set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) # For Windows: Prevent overriding the parent project's compiler/linker settings
Expand Down

0 comments on commit b1c1fae

Please sign in to comment.