backend-infra-engineer: Pre-0.2.2 2024 Q4 snapshot
This commit is contained in:
11
cmake/gtest.cmake
Normal file
11
cmake/gtest.cmake
Normal file
@@ -0,0 +1,11 @@
|
||||
# GoogleTest ------------------------------------------------------------------
|
||||
include(FetchContent)
|
||||
FetchContent_Declare(
|
||||
googletest
|
||||
URL https://github.com/google/googletest/archive/03597a01ee50ed33e9dfd640b249b4be3799d395.zip
|
||||
)
|
||||
|
||||
# For Windows: Prevent overriding the parent project's compiler/linker settings
|
||||
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
|
||||
FetchContent_MakeAvailable(googletest)
|
||||
enable_testing()
|
||||
Reference in New Issue
Block a user