CMake Options
Set an option with -DOPTION_NAME=VALUE when configuring CMake. Boolean values are ON or OFF. In Qt Creator, use Project → Current Configuration.
Defaults shown as “platform-dependent” vary according to the conditions in CMake. Some options are also disabled or unavailable when their prerequisites are off.
Dependencies
| Option | Default | Description |
|---|---|---|
YUZU_USE_BUNDLED_FFMPEG | ON on MSVC and Android; otherwise OFF | Download the bundled FFmpeg build. |
YUZU_USE_EXTERNAL_FFMPEG | ON on Solaris; otherwise OFF | Build FFmpeg from external source; unavailable on Windows and Android. |
YUZU_USE_BUNDLED_SDL3 | ON on MSVC and Android; otherwise OFF | Download the bundled SDL3 build. |
YUZU_USE_BUNDLED_SIRIT | ON on Android and MSVC non-Debug builds; otherwise OFF | Download bundled sirit. |
YUZU_USE_BUNDLED_OPENSSL | ON on MSVC, Android, Solaris, and OpenBSD; otherwise OFF | Download the bundled OpenSSL build. |
YUZU_USE_BUNDLED_MOLTENVK | ON on Apple platforms; otherwise OFF | Download bundled MoltenVK. |
YUZU_DOWNLOAD_ANDROID_VVL | ON | Download the Vulkan validation layer binary for Android. |
YUZU_DOWNLOAD_TIME_ZONE_DATA | ON | Download time-zone data. |
YUZU_TZDB_PATH | Empty | Path to a pre-downloaded time-zone database. |
CPMUTIL_FORCE_BUNDLED | ON on MSVC, Android, and iOS; otherwise OFF | Prefer bundled packages for all CPMUtil dependencies. |
CPMUTIL_FORCE_SYSTEM | OFF | Prefer system packages for all CPMUtil dependencies. |
CPM_DONT_UPDATE_MODULE_PATH | $ENV{CPM_DONT_UPDATE_MODULE_PATH} | Do not update the CPM module path, allowing find_package use. |
CPMUTIL_FORCE_BUNDLED and CPMUTIL_FORCE_SYSTEM apply globally; they are not the same as the individual bundled-dependency options.
Build features and tools
| Option | Default | Description |
|---|---|---|
ENABLE_WEB_SERVICE | ON | Enable web services, including telemetry. |
ENABLE_MCP_SERVER | ON | Build the built-in MCP server for AI agents; it is off at runtime by default. |
ENABLE_WIFI_SCAN | OFF | Enable Wi-Fi scanning. |
ENABLE_CUBEB | ON | Enable the cubeb audio backend. |
YUZU_TESTS | ${BUILD_TESTING} | Compile tests. |
ENABLE_DEBUG_TOOLS | OFF | Build debugging tools such as the Maxwell disassembler and SPIR-V translator. |
ENABLE_WERROR | ON | Treat compiler warnings as errors, with selected warning exceptions. |
ENABLE_LTO | OFF | Enable link-time optimization. |
ENABLE_LSFG | ON | Enable LSFG and FSR 3 Fluid Motion frame generation. |
ENABLE_RESHADE | ON | Enable ReShade FX post-processing effects. |
ENABLE_RENHDRUM | ON | Enable RenHDrum controller vibration support when renhdrum.dll is present. |
RENHDRUM_SDL_PATCHES | OFF | Build SDL3 from source with RenHDrum HD Rumble transport patches; requires ENABLE_RENHDRUM. |
ENABLE_LIBUSB | ON on Windows, Linux, FreeBSD, and Apple platforms; otherwise OFF | Enable the libusb input backend. |
ENABLE_OPENGL | ON except Windows ARM64, Apple platforms, and Android; otherwise OFF | Enable the OpenGL graphics backend. |
YUZU_INSTALL_UDEV_RULES | OFF | Install Linux udev rules for gyro access. |
YUZU_CRASH_DUMPS | OFF | Compile Minidump crash-dump support; available on Windows and Linux. |
YUZU_DISABLE_LLVM | OFF | Disable LLVM integration (primarily useful for CI). |
Executables and distribution
| Option | Default | Description |
|---|---|---|
ENABLE_QT | ON | Build the Qt frontend. |
YUZU_CMD | ON except Android, where it is OFF | Build the eden-cli executable. |
YUZU_ROOM | ON except Android, where it is OFF | Enable dedicated room functionality. |
YUZU_ROOM_STANDALONE | ON when YUZU_ROOM is enabled; otherwise OFF | Build a separate room executable. |
YUZU_STATIC_ROOM | OFF | Linux-only mode for building a static room executable only (CI use). |
YUZU_STATIC_BUILD | OFF | Use static libraries and executables where available. |
YUZU_LEGACY | OFF | Apply compatibility patches for some older GPUs at a performance cost. |
NIGHTLY_BUILD | OFF | Add Nightly qualifiers to the update checker and build metadata. |
ENABLE_UPDATE_CHECKER | OFF | Enable update checking for Qt and Android. |
EGLANTINE_UPDATE_REPO | Eglantine-Community/Eglantine | GitHub owner/repository read by the update checker. |
EGLANTINE_RELEASE_PLATFORM | Empty | Release asset platform identifier for the build. |
EGLANTINE_FOLLOW_BRANCH | Empty | Update repository branch followed by tester builds. |
GENERATE_QT_TRANSLATION | OFF | Generate en.ts as the Qt translation source file. |
WORKAROUND_BROKEN_LUPDATE | OFF | Run lupdate directly through CMake if Qt's convenience wrappers do not work. |
YUZU_STATIC_BUILD and bundled-Qt settings can affect each other: bundled Qt automatically enables static builds on Apple and non-UNIX platforms. The static-room option also forces a reduced feature set.
Qt options
| Option | Default | Description |
|---|---|---|
ENABLE_QT_TRANSLATION | ON | Enable translations for the Qt frontend. |
YUZU_USE_BUNDLED_QT | ON on MSVC when Qt is enabled; otherwise OFF | Download bundled Qt binaries. |
YUZU_QT_MIRROR | Empty | Mirror used to download bundled Qt libraries. |
YUZU_USE_QT_MULTIMEDIA | OFF | Use QtMultimedia for camera support; only applies when bundled Qt is not used. |
YUZU_USE_QT_WEB_ENGINE | OFF | Use QtWebEngine for web applets; only applies when bundled Qt is not used. |
USE_DISCORD_PRESENCE | OFF | Enable Discord Rich Presence; requires Qt. |
Dynarmic
These options configure the Dynarmic dependency and are usually only relevant to developers or distributors.
| Option | Default | Description |
|---|---|---|
DYNARMIC_ENABLE_CPU_FEATURE_DETECTION | ON | Detect host CPU features; when disabled, Dynarmic assumes no support beyond SSE3. |
DYNARMIC_ENABLE_NO_EXECUTE_SUPPORT | ${REQUIRE_WX} | Enable support for systems that require write-xor-execute memory. |
DYNARMIC_IGNORE_ASSERTS | ON | Ignore Dynarmic assertions. |
DYNARMIC_TESTS | ${BUILD_TESTING} | Build Dynarmic tests. |
DYNARMIC_TESTS_USE_UNICORN | OFF | Enable Dynarmic fuzzing tests against Unicorn. |
DYNARMIC_INSTALL | OFF | Install Dynarmic headers and CMake files. |
DYNARMIC_USE_BUNDLED_EXTERNALS | OFF | Use bundled Dynarmic externals, useful when cross-compiling. |
The following legacy options from the earlier page are not defined in the current CMake configuration: ENABLE_OPENSSL, ENABLE_SDL2, YUZU_USE_CPM, and YUZU_USE_EXTERNAL_SDL.