forked from suyu/suyu
Build System: Fix GCC & MINGW Build.
This commit is contained in:
parent
4105f38022
commit
626cc44d7a
1 changed files with 4 additions and 0 deletions
|
@ -62,6 +62,10 @@ else()
|
||||||
-Wno-unused-parameter
|
-Wno-unused-parameter
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (ARCHITECTURE_x86_64)
|
||||||
|
add_compile_options("-mcx16")
|
||||||
|
endif()
|
||||||
|
|
||||||
if (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL Clang)
|
if (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL Clang)
|
||||||
add_compile_options("-stdlib=libc++")
|
add_compile_options("-stdlib=libc++")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue