From 1c601346057ea9adfe18021cccdd7853ac25a8e4 Mon Sep 17 00:00:00 2001 From: lizzie Date: Mon, 2 Feb 2026 06:28:36 +0000 Subject: [PATCH] proper --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 579335c9ca..62ca459c1f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -82,6 +82,8 @@ cmake_dependent_option(YUZU_USE_QT_WEB_ENGINE "Use QtWebEngine for web applet im set(YUZU_QT_MIRROR "" CACHE STRING "What mirror to use for downloading the bundled Qt libraries") cmake_dependent_option(YUZU_USE_BUNDLED_QT "Download bundled Qt binaries" "${MSVC}" "ENABLE_QT" OFF) +option(ENABLE_DEBUG_TOOLS "Enable debugging tools (maxwell disassembler, SPIRV translator, etc)" ON) + # non-linux bundled qt are static if (YUZU_USE_BUNDLED_QT AND (APPLE OR NOT UNIX)) set(YUZU_STATIC_BUILD ON) @@ -779,7 +781,7 @@ endif() add_subdirectory(src) -if (TRUE OR ENABLE_TEGRA_TOOLS) +if (ENABLE_DEBUG_TOOLS) add_subdirectory(tools/maxwell-disas) add_subdirectory(tools/maxwell-spirv) endif()