Skip to content
Permalink
Browse files

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

Fixes Bugzilla #3565.
  • Loading branch information
icculus committed Jan 24, 2017
1 parent 36cb05a commit 5ea0c893cd14847062134006d96ccb672507292e
Showing with 1 addition and 1 deletion.
  1. +1 −1 CMakeLists.txt
@@ -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")

0 comments on commit 5ea0c89

Please sign in to comment.