Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

yuzu/CMakeLists: Disable unsafe overloads of QProcess' start() function

Lioncash12b32a058b63
diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt
index ec969a9a74..37394be377 100644
--- a/src/yuzu/CMakeLists.txt
+++ b/src/yuzu/CMakeLists.txt
@@ -162,6 +162,9 @@ target_compile_definitions(yuzu PRIVATE
# Disable implicit type narrowing in signal/slot connect() calls.
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT
+
+ # Disable unsafe overloads of QProcess' start() function.
+ -DQT_NO_PROCESS_COMBINED_ARGUMENT_START
)
if (YUZU_ENABLE_COMPATIBILITY_REPORTING)