mirror of https://github.com/encounter/SDL.git
CMake: fixed logic error in setting -mfpmath=387.
Fixes Bugzilla #3565.
This commit is contained in:
parent
36cb05a8f8
commit
5ea0c893cd
|
@ -540,7 +540,7 @@ if(ASSEMBLY)
|
||||||
set(CMAKE_REQUIRED_FLAGS ${ORIG_CMAKE_REQUIRED_FLAGS})
|
set(CMAKE_REQUIRED_FLAGS ${ORIG_CMAKE_REQUIRED_FLAGS})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(SSEMATH)
|
if(NOT SSEMATH)
|
||||||
if(SSE OR SSE2 OR SSE3)
|
if(SSE OR SSE2 OR SSE3)
|
||||||
if(USE_GCC)
|
if(USE_GCC)
|
||||||
list(APPEND EXTRA_CFLAGS "-mfpmath=387")
|
list(APPEND EXTRA_CFLAGS "-mfpmath=387")
|
||||||
|
|
Loading…
Reference in New Issue