From 5ea0c893cd14847062134006d96ccb672507292e Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 24 Jan 2017 12:20:41 -0500 Subject: [PATCH] CMake: fixed logic error in setting -mfpmath=387. Fixes Bugzilla #3565. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 65d7cc2019bf6..fe7e22ace480a 100644 --- a/CMakeLists.txt +++ b/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")