Skip to content

Commit

Permalink
CMake: Fix building on 32-bit Linux (Core 2 Duo).
Browse files Browse the repository at this point in the history
  • Loading branch information
svdijk authored and coelckers committed Apr 29, 2017
1 parent 9f14036 commit cc3ae93
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1267,7 +1267,11 @@ endif()
if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE )
# Need to enable intrinsics for this file.
if( SSE_MATTERS )
set_source_files_properties( x86.cpp PROPERTIES COMPILE_FLAGS "-msse2 -mmmx" )
set_source_files_properties(
x86.cpp
swrenderer/r_all.cpp
polyrenderer/poly_all.cpp
PROPERTIES COMPILE_FLAGS "-msse2 -mmmx" )
endif()
endif()

Expand Down

0 comments on commit cc3ae93

Please sign in to comment.