Skip to content

Commit

Permalink
conditional include of ctest
Browse files Browse the repository at this point in the history
  • Loading branch information
wusatosi committed Nov 14, 2024
1 parent 1437ad4 commit ec6192b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ option(
${PROJECT_IS_TOP_LEVEL}
)

include(CTest)
include(FetchContent)
include(GNUInstallDirs)

if(BEMAN_EXEMPLAR_BUILD_TESTING)
include(CTest)
include(FetchContent)

enable_testing()

# Fetch GoogleTest
Expand Down

0 comments on commit ec6192b

Please sign in to comment.