Move googletest cmake module file to appropriate directory

This commit is contained in:
m-aXimilian
2025-06-14 00:27:29 +02:00
parent a8489292b6
commit 8024f816b3
2 changed files with 1 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
include(FetchContent)
FetchContent_Declare(
googletest
URL https://github.com/google/googletest/archive/refs/tags/v1.14.0.zip
)
# From this documentation: https://google.github.io/googletest/quickstart-cmake.html
# For Windows: Prevent overriding the parent project's compiler/linker settings
if(WIN32)
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
endif()
FetchContent_MakeAvailable(googletest)