CMake: Fix building on 32-bit Linux (Core 2 Duo).

This commit is contained in:
svdijk 2017-04-29 12:46:49 +02:00 committed by Christoph Oelckers
parent be496a89d9
commit 4c803b6615
1 changed files with 5 additions and 1 deletions

View File

@ -1267,7 +1267,11 @@ endif()
if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE ) if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE )
# Need to enable intrinsics for this file. # Need to enable intrinsics for this file.
if( SSE_MATTERS ) 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()
endif() endif()