Sfoglia il codice sorgente

Build System: Fix GCC & MINGW Build.

Fernando Sahmkow 6 anni fa
parent
commit
626cc44d7a
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      src/CMakeLists.txt

+ 4 - 0
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()