Skip to content

Commit

Permalink
Restore add test in else() block
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-berchet committed Dec 7, 2022
1 parent 6b2fbf8 commit 8d73e45
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,9 @@ if (NOT EXTERNAL_CATCH2)
catch_discover_tests( unittests
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
)
else()
add_test(NAME unittests
COMMAND unittests
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
)
endif()

0 comments on commit 8d73e45

Please sign in to comment.