Skip to content

Commit

Permalink
fix google test discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
marenz2569 committed Dec 18, 2024
1 parent 250f9dc commit eff49fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/InstallGoogleTest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
set(BUILD_GMOCK OFF CACHE BOOL "" FORCE)

# Do not execute the google test executable during build.
set(CMAKE_GTEST_DISCOVER_TESTS_DISCOVERY_MODE PRE_TEST)

if (FIRESTARTER_FETCH_GOOGLETEST)
include(FetchContent)

Expand Down

0 comments on commit eff49fa

Please sign in to comment.