Skip to content

Commit

Permalink
#1807: set darma compiler flags for gtest
Browse files Browse the repository at this point in the history
  • Loading branch information
stmcgovern authored and nlslatt committed Jun 2, 2022
1 parent 3cc2dbc commit 87e1af9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 87e1af9

Please sign in to comment.