Update to match window-starter template
This commit is contained in:
18
cmake/googletest.cmake
Normal file
18
cmake/googletest.cmake
Normal file
@@ -0,0 +1,18 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user