mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 01:24:08 +00:00
try flags to fix gcc build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
99bdb46158
commit
d7f51f2443
|
@ -381,7 +381,7 @@ endif()
|
|||
# FIXME: Support ARM "-mfpu=vfp -mfloat-abi=hard"
|
||||
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")
|
||||
set(SSE_FLAGS "-mfpmath=sse" "-msse" "-msse2" "-mfsr")
|
||||
# FIXME: Remove "x.." when CMP0054 is set to NEW
|
||||
elseif ("x${CMAKE_CXX_COMPILER_ID}" STREQUAL "xMSVC")
|
||||
set(SSE_FLAGS "/arch:SSE2")
|
||||
|
|
Loading…
Reference in a new issue