summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-06-27 16:52:23 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-06-27 17:36:28 +0200
commit626cc44d7ababf037cbf1f0a6fd1372efc296b64 (patch)
treebaf97b6ebf7ff228a7921bfade66d095cb50ae36 /src/CMakeLists.txt
parentSVC: Implement 32-bits wrappers and update Dynarmic. (diff)
downloadyuzu-626cc44d7ababf037cbf1f0a6fd1372efc296b64.tar
yuzu-626cc44d7ababf037cbf1f0a6fd1372efc296b64.tar.gz
yuzu-626cc44d7ababf037cbf1f0a6fd1372efc296b64.tar.bz2
yuzu-626cc44d7ababf037cbf1f0a6fd1372efc296b64.tar.lz
yuzu-626cc44d7ababf037cbf1f0a6fd1372efc296b64.tar.xz
yuzu-626cc44d7ababf037cbf1f0a6fd1372efc296b64.tar.zst
yuzu-626cc44d7ababf037cbf1f0a6fd1372efc296b64.zip
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 3a57356ab..1e977e8a8 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()