From 87e1af94d7fefd331162819f7a8018d7acc7abe7 Mon Sep 17 00:00:00 2001 From: Sean McGovern Date: Tue, 31 May 2022 02:14:34 +0000 Subject: [PATCH] #1807: set darma compiler flags for gtest --- tests/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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(