Fix clang/32-bit build

Rendering bits got restructured and the SSE_MATTERS paths were not updated
to reflect that. A 32-bit build with clang subsequently complaints as the
files in question are not compiled with -mmmx.
This commit is contained in:
Kyle Evans 2019-05-30 13:24:06 -05:00 committed by Christoph Oelckers
parent 6ace482266
commit e0c7bf7708

View file

@ -1458,10 +1458,9 @@ if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE )
# Need to enable intrinsics for these files. # Need to enable intrinsics for these files.
if( SSE_MATTERS ) if( SSE_MATTERS )
set_source_files_properties( set_source_files_properties(
gl/system/gl_swframebuffer.cpp rendering/polyrenderer/poly_all.cpp
polyrenderer/poly_all.cpp rendering/swrenderer/r_all.cpp
swrenderer/r_all.cpp utility/x86.cpp
x86.cpp
PROPERTIES COMPILE_FLAGS "-msse2 -mmmx" ) PROPERTIES COMPILE_FLAGS "-msse2 -mmmx" )
endif() endif()
endif() endif()