Skip to content

Commit

Permalink
- fixed 32-bit Linux build with SSE support enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Feb 13, 2020
1 parent bb42d58 commit 2bde2d8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/CMakeLists.txt
Expand Up @@ -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()

Expand Down

0 comments on commit 2bde2d8

Please sign in to comment.