CMake: fixed logic error in setting -mfpmath=387.

Fixes Bugzilla #3565.
This commit is contained in:
Ryan C. Gordon 2017-01-24 12:20:41 -05:00
parent 36cb05a8f8
commit 5ea0c893cd
1 changed files with 1 additions and 1 deletions

View File

@ -540,7 +540,7 @@ if(ASSEMBLY)
set(CMAKE_REQUIRED_FLAGS ${ORIG_CMAKE_REQUIRED_FLAGS})
endif()
if(SSEMATH)
if(NOT SSEMATH)
if(SSE OR SSE2 OR SSE3)
if(USE_GCC)
list(APPEND EXTRA_CFLAGS "-mfpmath=387")