diff options
Diffstat (limited to 'src/tests/CMakeLists.txt')
| -rw-r--r-- | src/tests/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt index 43ad2c7ff..348d1edf4 100644 --- a/src/tests/CMakeLists.txt +++ b/src/tests/CMakeLists.txt | |||
| @@ -11,6 +11,7 @@ add_executable(tests | |||
| 11 | common/unique_function.cpp | 11 | common/unique_function.cpp |
| 12 | core/core_timing.cpp | 12 | core/core_timing.cpp |
| 13 | core/internal_network/network.cpp | 13 | core/internal_network/network.cpp |
| 14 | precompiled_headers.h | ||
| 14 | tests.cpp | 15 | tests.cpp |
| 15 | video_core/buffer_base.cpp | 16 | video_core/buffer_base.cpp |
| 16 | input_common/calibration_configuration_job.cpp | 17 | input_common/calibration_configuration_job.cpp |
| @@ -22,3 +23,7 @@ target_link_libraries(tests PRIVATE common core input_common) | |||
| 22 | target_link_libraries(tests PRIVATE ${PLATFORM_LIBRARIES} Catch2::Catch2 Threads::Threads) | 23 | target_link_libraries(tests PRIVATE ${PLATFORM_LIBRARIES} Catch2::Catch2 Threads::Threads) |
| 23 | 24 | ||
| 24 | add_test(NAME tests COMMAND tests) | 25 | add_test(NAME tests COMMAND tests) |
| 26 | |||
| 27 | if (YUZU_USE_PRECOMPILED_HEADERS) | ||
| 28 | target_precompile_headers(tests PRIVATE precompiled_headers.h) | ||
| 29 | endif() | ||