From a7145a2187404e55ac4b488ab0988047ad69956e 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 484ddb8f43..40ff32fb70 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,6 +75,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) @@ -709,7 +711,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()