Skip to content

Commit

Permalink
src: fix i386 build
Browse files Browse the repository at this point in the history
SSE_MATTERS formally went away in 466ed4e, leaving behind this dead
branch that still needed to happen for 32-bit targets.  It was further
broken later with some path restructuring.
  • Loading branch information
Kyle Evans authored and coelckers committed Nov 7, 2021
1 parent 6ee8927 commit 70ea671
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/CMakeLists.txt
Expand Up @@ -1386,14 +1386,12 @@ if( CMAKE_COMPILER_IS_GNUCXX )
endif()
if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE )
# Need to enable intrinsics for these files.
if( SSE_MATTERS )
set_property( SOURCE
common/rendering/polyrenderer/poly_all.cpp
rendering/swrenderer/r_all.cpp
utility/palette.cpp
utility/x86.cpp
APPEND_STRING PROPERTY COMPILE_FLAGS " -msse2 -mmmx" )
endif()
set_property( SOURCE
common/rendering/polyrenderer/poly_all.cpp
common/utility/palette.cpp
common/utility/x86.cpp
rendering/swrenderer/r_all.cpp
APPEND_STRING PROPERTY COMPILE_FLAGS " ${SSE2_ENABLE}" )
endif()

if( APPLE )
Expand Down

0 comments on commit 70ea671

Please sign in to comment.