diff options
| author | 2020-06-27 10:52:23 -0400 | |
|---|---|---|
| committer | 2020-06-27 11:36:28 -0400 | |
| commit | 626cc44d7ababf037cbf1f0a6fd1372efc296b64 (patch) | |
| tree | baf97b6ebf7ff228a7921bfade66d095cb50ae36 | |
| parent | SVC: Implement 32-bits wrappers and update Dynarmic. (diff) | |
| download | yuzu-626cc44d7ababf037cbf1f0a6fd1372efc296b64.tar.gz yuzu-626cc44d7ababf037cbf1f0a6fd1372efc296b64.tar.xz yuzu-626cc44d7ababf037cbf1f0a6fd1372efc296b64.zip | |
Build System: Fix GCC & MINGW Build.
Diffstat (limited to '')
| -rw-r--r-- | src/CMakeLists.txt | 4 |
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() | |||
| 62 | -Wno-unused-parameter | 62 | -Wno-unused-parameter |
| 63 | ) | 63 | ) |
| 64 | 64 | ||
| 65 | if (ARCHITECTURE_x86_64) | ||
| 66 | add_compile_options("-mcx16") | ||
| 67 | endif() | ||
| 68 | |||
| 65 | if (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL Clang) | 69 | if (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL Clang) |
| 66 | add_compile_options("-stdlib=libc++") | 70 | add_compile_options("-stdlib=libc++") |
| 67 | endif() | 71 | endif() |