CMakeLists.txt
changeset 10848 7764aba2f211
parent 10835 0e9e7a128391
child 10907 e64cf9261cc7
equal deleted inserted replaced
10847:425040bd82be 10848:7764aba2f211
   538         list(APPEND EXTRA_CFLAGS "-msse3")
   538         list(APPEND EXTRA_CFLAGS "-msse3")
   539       endif()
   539       endif()
   540       set(CMAKE_REQUIRED_FLAGS ${ORIG_CMAKE_REQUIRED_FLAGS})
   540       set(CMAKE_REQUIRED_FLAGS ${ORIG_CMAKE_REQUIRED_FLAGS})
   541     endif()
   541     endif()
   542 
   542 
   543     if(SSEMATH)
   543     if(NOT SSEMATH)
   544       if(SSE OR SSE2 OR SSE3)
   544       if(SSE OR SSE2 OR SSE3)
   545         if(USE_GCC)
   545         if(USE_GCC)
   546           list(APPEND EXTRA_CFLAGS "-mfpmath=387")
   546           list(APPEND EXTRA_CFLAGS "-mfpmath=387")
   547         endif()
   547         endif()
   548         set(HAVE_SSEMATH TRUE)
   548         set(HAVE_SSEMATH TRUE)