diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 7e67ee2ecd..f132722e01 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -45,6 +45,8 @@ set(BUILD_GMOCK OFF CACHE BOOL "Builds the googlemock subproject" FORCE) set(INSTALL_GTEST OFF CACHE BOOL "Enable installation of googletest. (Projects embedding googletest may want to turn this OFF.)" FORCE) add_subdirectory(extern/googletest) +set(GOOGLETEST_LIBRARY gtest) +set_darma_compiler_flags(${GOOGLETEST_LIBRARY}) # Hide various options from UI-based property editors mark_as_advanced(