Explorar el Código

Build System: Fix GCC & MINGW Build.

Fernando Sahmkow hace 6 años
padre
commit
626cc44d7a
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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()