find_package(Catch2 3 REQUIRED) add_executable(filetape_tests ${PROJECT_SOURCE_DIR}/tests/filetape_tests.cpp) target_link_libraries(filetape_tests PRIVATE tapelib) target_link_libraries(filetape_tests PRIVATE Catch2::Catch2WithMain) add_test(filetape_tests filetape_tests) add_executable(filetape_sort_tests ${PROJECT_SOURCE_DIR}/tests/filetape_sort_tests.cpp) target_link_libraries(filetape_sort_tests PRIVATE tapelib) target_link_libraries(filetape_sort_tests PRIVATE Catch2::Catch2WithMain) add_test(filetape_sort_tests filetape_sort_tests)