fix(cpn): Prevent googletest installation (#4265)

This commit is contained in:
Raphael Coeffic
2023-10-30 20:11:01 +10:00
committed by GitHub
parent 1bb624cb43
commit d5989ec479
+6
View File
@@ -8,6 +8,12 @@ FetchContent_Declare(
GIT_TAG f8d7d77c06936315286eb55f8de22cd23c188571 # v1.14.0
)
# For Windows: Prevent overriding the parent project's compiler/linker settings
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
option(BUILD_GMOCK "Build GMock" OFF)
option(INSTALL_GTEST "Install GTest" OFF)
FetchContent_MakeAvailable(googletest)
include_directories(