Skip to content

Commit

Permalink
Simplify BUILD_TESTING in CMakeLists.txt (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
spacey-sooty authored Nov 7, 2024
1 parent e5c3eaf commit a925d16
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,8 @@ if(BUILD_TESTING)
enable_testing()
list(APPEND CMAKE_MODULE_PATH ${Catch2_SOURCE_DIR}/extras)
include(Catch)
endif()

# Build Sleipnir tests
if(BUILD_TESTING)
# Build Sleipnir tests
file(GLOB_RECURSE Sleipnir_test_src test/src/*.cpp)
add_executable(SleipnirTest ${Sleipnir_test_src})
compiler_flags(SleipnirTest)
Expand Down

0 comments on commit a925d16

Please sign in to comment.