From 4c803b6615325d4060d7b0d11e926cbb3eb78943 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 426089610..95ab613c0 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()