Skip to content

Commit

Permalink
fix: always include CTest even when ASAP_BUILD_TESTS is OFF
Browse files Browse the repository at this point in the history
This is to allow running the non-unit tests (Misc, etc...)
  • Loading branch information
abdes committed Apr 21, 2023
1 parent b70e778 commit 4c5ef88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ include(SphinxGeneration)
# Testing
# ------------------------------------------------------------------------------

include(CTest)

if(ASAP_BUILD_TESTS)
include(GoogleSanitizers)
include(CodeCoverage)
Expand All @@ -177,7 +179,6 @@ if(ASAP_BUILD_TESTS)
"INSTALL_GTEST OFF")

include(GoogleTest)
include(CTest)
endif()

# ------------------------------------------------------------------------------
Expand Down

0 comments on commit 4c5ef88

Please sign in to comment.