- fixed 32-bit Linux build with SSE support enabled

This commit is contained in:
alexey.lysiuk 2020-02-13 15:29:48 +02:00
parent bb42d58427
commit 2bde2d8268

View file

@ -1301,11 +1301,12 @@ endif()
if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE )
# Need to enable intrinsics for these files.
if( SSE_MATTERS )
set_source_files_properties(
set_property( SOURCE
rendering/polyrenderer/poly_all.cpp
rendering/swrenderer/r_all.cpp
utility/palette.cpp
utility/x86.cpp
PROPERTIES COMPILE_FLAGS "-msse2 -mmmx" )
APPEND_STRING PROPERTY COMPILE_FLAGS " -msse2 -mmmx" )
endif()
endif()