src: fix i386 build

SSE_MATTERS formally went away in 466ed4e8f2, leaving behind this dead
branch that still needed to happen for 32-bit targets.  It was further
broken later with some path restructuring.
This commit is contained in:
Kyle Evans 2021-11-06 22:10:16 -05:00 committed by Christoph Oelckers
parent 6ee89275ca
commit 70ea671f01

View file

@ -1386,14 +1386,12 @@ if( CMAKE_COMPILER_IS_GNUCXX )
endif() endif()
if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE ) if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE )
# Need to enable intrinsics for these files. # Need to enable intrinsics for these files.
if( SSE_MATTERS ) set_property( SOURCE
set_property( SOURCE common/rendering/polyrenderer/poly_all.cpp
common/rendering/polyrenderer/poly_all.cpp common/utility/palette.cpp
rendering/swrenderer/r_all.cpp common/utility/x86.cpp
utility/palette.cpp rendering/swrenderer/r_all.cpp
utility/x86.cpp APPEND_STRING PROPERTY COMPILE_FLAGS " ${SSE2_ENABLE}" )
APPEND_STRING PROPERTY COMPILE_FLAGS " -msse2 -mmmx" )
endif()
endif() endif()
if( APPLE ) if( APPLE )