Fix CMake SSE3 flag

This commit is contained in:
Hannu Hanhi 2020-10-31 18:04:44 +02:00
parent 244c76250f
commit 54cc9db7a5
1 changed files with 1 additions and 1 deletions

View File

@ -549,7 +549,7 @@ if(${SRB2_CONFIG_USEASM})
endif()
set(SRB2_USEASM ON)
add_definitions(-DUSEASM)
set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} -msse3 -mfpmath=sse)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse3 -mfpmath=sse")
else()
set(SRB2_USEASM OFF)
add_definitions(-DNONX86 -DNORUSEASM)