From cc3ae934617babf96c2b36677cebbaab83892569 Mon Sep 17 00:00:00 2001 From: svdijk Date: Sat, 29 Apr 2017 12:46:49 +0200 Subject: [PATCH] CMake: Fix building on 32-bit Linux (Core 2 Duo). --- src/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 426089610cf..95ab613c0a4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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()