mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 01:24:08 +00:00
Fixed FP math options for x86 cmake build. Fixes #644.
This commit is contained in:
parent
70301ad3c8
commit
ae54b9d158
|
@ -246,7 +246,7 @@ endif()
|
|||
# FP math
|
||||
################################################################################
|
||||
# FIXME: Support ARM "-mfpu=vfp -mfloat-abi=hard"
|
||||
if ("${TARGET_ARCHITECTURE}" STREQUAL "x86_64")
|
||||
if (("${TARGET_ARCHITECTURE}" STREQUAL "x86_64") OR ("${TARGET_ARCHITECTURE}" STREQUAL "i686"))
|
||||
if (("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang"))
|
||||
set(SSE_FLAGS "-mfpmath=sse" "-msse" "-msse2")
|
||||
# FIXME: Remove "x.." when CMP0054 is set to NEW
|
||||
|
|
Loading…
Reference in a new issue