summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-01-12 05:58:16 +0100
committerGitHub <noreply@github.com>2022-01-12 05:58:16 +0100
commiteb7197eb4731d4679565dce0c00dedf6dad9175a (patch)
treeae891a52f72e937345501ec377658ddc9ee0fe3d /src/CMakeLists.txt
parentMerge pull request #7684 from bunnei/set-mem-perm-attr (diff)
parentcmake: make tests optional (diff)
downloadyuzu-eb7197eb4731d4679565dce0c00dedf6dad9175a.tar
yuzu-eb7197eb4731d4679565dce0c00dedf6dad9175a.tar.gz
yuzu-eb7197eb4731d4679565dce0c00dedf6dad9175a.tar.bz2
yuzu-eb7197eb4731d4679565dce0c00dedf6dad9175a.tar.lz
yuzu-eb7197eb4731d4679565dce0c00dedf6dad9175a.tar.xz
yuzu-eb7197eb4731d4679565dce0c00dedf6dad9175a.tar.zst
yuzu-eb7197eb4731d4679565dce0c00dedf6dad9175a.zip
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt5
1 files changed, 4 insertions, 1 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)
add_subdirectory(video_core)
add_subdirectory(input_common)
add_subdirectory(shader_recompiler)
-add_subdirectory(tests)
+
+if (YUZU_TESTS)
+ add_subdirectory(tests)
+endif()
if (ENABLE_SDL2)
add_subdirectory(yuzu_cmd)