Return back the 'check' command

This commit is contained in:
Serge Lamikhov-Center 2022-02-27 23:34:09 +02:00 committed by GitHub
parent 3580e7cc7f
commit 21fa533df3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,6 +53,7 @@ if (IS_TOP_PROJECT)
if (ELFIO_BUILD_TESTS AND IS_TOP_PROJECT)
# set (CMAKE_CXX_FLAGS "-Wall")
enable_testing()
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} USES_TERMINAL)
add_subdirectory(tests)
endif()