Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit 907137c

Browse files
Restore add_test in else() block
1 parent 6b2fbf8 commit 907137c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,9 @@ if (NOT EXTERNAL_CATCH2)
5353
catch_discover_tests( unittests
5454
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
5555
)
56+
else()
57+
add_test(NAME unittests
58+
COMMAND unittests
59+
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
60+
)
5661
endif()

0 commit comments

Comments
 (0)