update cmake modules dir

This commit is contained in:
McMassiveNZ
2023-07-19 22:18:18 +02:00
parent 7f76c83875
commit 6d317cf89c
3 changed files with 6 additions and 6 deletions

17
cmake/gtest.cmake Normal file
View File

@@ -0,0 +1,17 @@
include_guard()
CPMAddPackage(
NAME googletest
GITHUB_REPOSITORY google/googletest
GIT_TAG v1.13.0
VERSION 1.13.0
OPTIONS
"INSTALL_GTEST OFF"
"gtest_force_shared_crt ON"
)
set_property(TARGET
gtest
gtest_main
gmock
gmock_main
PROPERTY FOLDER third_party/GoogleTest)