1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-25 21:46:38 -05:00

cmake: make tests optional

This commit is contained in:
Alexandre Bouvier
2022-01-12 00:36:20 +01:00
parent c65c651b6f
commit c8b358dba2
4 changed files with 12 additions and 7 deletions

View File

@@ -16,6 +16,6 @@ add_executable(tests
create_target_directory_groups(tests)
target_link_libraries(tests PRIVATE common core input_common)
target_link_libraries(tests PRIVATE ${PLATFORM_LIBRARIES} catch-single-include Threads::Threads)
target_link_libraries(tests PRIVATE ${PLATFORM_LIBRARIES} Catch2::Catch2 Threads::Threads)
add_test(NAME tests COMMAND tests)