diff options
Diffstat (limited to 'src/CMakeLists.txt')
| -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() |