diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | src/tests/CMakeLists.txt | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 19d16147d..1bdf70b76 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt | |||
| @@ -151,7 +151,10 @@ add_subdirectory(audio_core) | |||
| 151 | add_subdirectory(video_core) | 151 | add_subdirectory(video_core) |
| 152 | add_subdirectory(input_common) | 152 | add_subdirectory(input_common) |
| 153 | add_subdirectory(shader_recompiler) | 153 | add_subdirectory(shader_recompiler) |
| 154 | add_subdirectory(tests) | 154 | |
| 155 | if (YUZU_TESTS) | ||
| 156 | add_subdirectory(tests) | ||
| 157 | endif() | ||
| 155 | 158 | ||
| 156 | if (ENABLE_SDL2) | 159 | if (ENABLE_SDL2) |
| 157 | add_subdirectory(yuzu_cmd) | 160 | add_subdirectory(yuzu_cmd) |
diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt index 4a20c0768..a69ccb264 100644 --- a/src/tests/CMakeLists.txt +++ b/src/tests/CMakeLists.txt | |||
| @@ -16,6 +16,6 @@ add_executable(tests | |||
| 16 | create_target_directory_groups(tests) | 16 | create_target_directory_groups(tests) |
| 17 | 17 | ||
| 18 | target_link_libraries(tests PRIVATE common core input_common) | 18 | target_link_libraries(tests PRIVATE common core input_common) |
| 19 | target_link_libraries(tests PRIVATE ${PLATFORM_LIBRARIES} catch-single-include Threads::Threads) | 19 | target_link_libraries(tests PRIVATE ${PLATFORM_LIBRARIES} Catch2::Catch2 Threads::Threads) |
| 20 | 20 | ||
| 21 | add_test(NAME tests COMMAND tests) | 21 | add_test(NAME tests COMMAND tests) |