diff options
| author | 2023-01-05 05:00:44 +0100 | |
|---|---|---|
| committer | 2023-01-05 05:03:34 +0100 | |
| commit | 7a2bd13f5bf00153fc543daa779c1037ecbe4298 (patch) | |
| tree | b7911b75d3742ea366376d73f95e020d6ec018a6 /externals | |
| parent | tests: update catch2 to 3.0.1 (diff) | |
| download | yuzu-7a2bd13f5bf00153fc543daa779c1037ecbe4298.tar.gz yuzu-7a2bd13f5bf00153fc543daa779c1037ecbe4298.tar.xz yuzu-7a2bd13f5bf00153fc543daa779c1037ecbe4298.zip | |
cmake: support the standard cmake testing option
Diffstat (limited to 'externals')
| -rw-r--r-- | externals/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index dfd40cba6..291ef96ee 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt | |||
| @@ -5,6 +5,9 @@ | |||
| 5 | # some of its variables, which is only possible in 3.13+ | 5 | # some of its variables, which is only possible in 3.13+ |
| 6 | set(CMAKE_POLICY_DEFAULT_CMP0077 NEW) | 6 | set(CMAKE_POLICY_DEFAULT_CMP0077 NEW) |
| 7 | 7 | ||
| 8 | # Disable tests in all externals supporting the standard option name | ||
| 9 | set(BUILD_TESTING OFF) | ||
| 10 | |||
| 8 | # xbyak | 11 | # xbyak |
| 9 | if ((ARCHITECTURE_x86 OR ARCHITECTURE_x86_64) AND NOT TARGET xbyak::xbyak) | 12 | if ((ARCHITECTURE_x86 OR ARCHITECTURE_x86_64) AND NOT TARGET xbyak::xbyak) |
| 10 | add_subdirectory(xbyak EXCLUDE_FROM_ALL) | 13 | add_subdirectory(xbyak EXCLUDE_FROM_ALL) |