externals: allow user to use system Catch2 (#7190)
This commit is contained in:
parent
2a4c60c1dd
commit
ba702043f0
3 changed files with 13 additions and 4 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue