mirror of https://github.com/AxioDL/zeus.git
Fix compiling on OS X
This commit is contained in:
parent
25da88baad
commit
8f82cdaaab
|
@ -26,7 +26,7 @@ if(NOT MSVC)
|
||||||
set_source_files_properties(${SOURCES} PROPERTIES COMPILE_FLAGS "-msse4.1 -msse4.2 -std=c++14")
|
set_source_files_properties(${SOURCES} PROPERTIES COMPILE_FLAGS "-msse4.1 -msse4.2 -std=c++14")
|
||||||
string(REPLACE "-flto" "" CUSTOM_FLAGS ${CMAKE_CXX_FLAGS})
|
string(REPLACE "-flto" "" CUSTOM_FLAGS ${CMAKE_CXX_FLAGS})
|
||||||
set(CUSTOM_FLAGS "${CUSTOM_FLAGS} -O3 -msse3 -std=c++14")
|
set(CUSTOM_FLAGS "${CUSTOM_FLAGS} -O3 -msse3 -std=c++14")
|
||||||
set(SSE_LEGACY_OBJ ${CMAKE_CURRENT_BINARY_DIR}/src/SSELegacy.o)
|
set(SSE_LEGACY_OBJ ${CMAKE_CURRENT_BINARY_DIR}/SSELegacy.o)
|
||||||
separate_arguments(CUSTOM_FLAGS UNIX_COMMAND ${CUSTOM_FLAGS})
|
separate_arguments(CUSTOM_FLAGS UNIX_COMMAND ${CUSTOM_FLAGS})
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT ${SSE_LEGACY_OBJ}
|
OUTPUT ${SSE_LEGACY_OBJ}
|
||||||
|
|
Loading…
Reference in New Issue