externals: allow user to use system Catch2 (#7190)

This commit is contained in:
Castor215
2023-11-18 23:54:27 +00:00
committed by GitHub
parent 2a4c60c1dd
commit ba702043f0
3 changed files with 13 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ add_executable(tests
create_target_directory_groups(tests)
target_link_libraries(tests PRIVATE citra_common citra_core video_core audio_core)
target_link_libraries(tests PRIVATE ${PLATFORM_LIBRARIES} Catch2::Catch2WithMain nihstro-headers Threads::Threads)
target_link_libraries(tests PRIVATE ${PLATFORM_LIBRARIES} catch2 nihstro-headers Threads::Threads)
add_test(NAME tests COMMAND tests)