Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Build System: Fix GCC & MINGW Build.

Fernando Sahmkow8ef375e7724d
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 3a57356ab3..1e977e8a8c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -62,6 +62,10 @@ else()
-Wno-unused-parameter
)
+ if (ARCHITECTURE_x86_64)
+ add_compile_options("-mcx16")
+ endif()
+
if (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL Clang)
add_compile_options("-stdlib=libc++")
endif()