CMake: Fix building on 32-bit Linux (Core 2 Duo) again.

This commit is contained in:
svdijk 2017-05-09 20:34:57 +02:00 committed by Christoph Oelckers
parent 60cc91e000
commit fd8613a11e

View file

@ -1265,12 +1265,13 @@ if( CMAKE_COMPILER_IS_GNUCXX )
set_source_files_properties( oplsynth/fmopl.cpp PROPERTIES COMPILE_FLAGS "-fno-tree-dominator-opts -fno-tree-fre" )
endif()
if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE )
# Need to enable intrinsics for this file.
# Need to enable intrinsics for these files.
if( SSE_MATTERS )
set_source_files_properties(
x86.cpp
swrenderer/r_all.cpp
gl/system/gl_swframebuffer.cpp
polyrenderer/poly_all.cpp
swrenderer/r_all.cpp
x86.cpp
PROPERTIES COMPILE_FLAGS "-msse2 -mmmx" )
endif()
endif()