CMake: fixed logic error in setting -mfpmath=387.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 24 Jan 2017 12:20:41 -0500
changeset 108487764aba2f211
parent 10847 425040bd82be
child 10849 bc671e6906ae
CMake: fixed logic error in setting -mfpmath=387.

Fixes Bugzilla #3565.
CMakeLists.txt
     1.1 --- a/CMakeLists.txt	Tue Jan 24 12:20:12 2017 -0500
     1.2 +++ b/CMakeLists.txt	Tue Jan 24 12:20:41 2017 -0500
     1.3 @@ -540,7 +540,7 @@
     1.4        set(CMAKE_REQUIRED_FLAGS ${ORIG_CMAKE_REQUIRED_FLAGS})
     1.5      endif()
     1.6  
     1.7 -    if(SSEMATH)
     1.8 +    if(NOT SSEMATH)
     1.9        if(SSE OR SSE2 OR SSE3)
    1.10          if(USE_GCC)
    1.11            list(APPEND EXTRA_CFLAGS "-mfpmath=387")