From fd8613a11e7e22c62300b5e3bc29fec3b329189b Mon Sep 17 00:00:00 2001 From: svdijk Date: Tue, 9 May 2017 20:34:57 +0200 Subject: [PATCH] CMake: Fix building on 32-bit Linux (Core 2 Duo) again. --- src/CMakeLists.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 95ab613c0..a9b65cb1d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1265,12 +1265,13 @@ if( CMAKE_COMPILER_IS_GNUCXX ) set_source_files_properties( oplsynth/fmopl.cpp PROPERTIES COMPILE_FLAGS "-fno-tree-dominator-opts -fno-tree-fre" ) endif() if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE ) - # Need to enable intrinsics for this file. + # Need to enable intrinsics for these files. if( SSE_MATTERS ) set_source_files_properties( - x86.cpp - swrenderer/r_all.cpp + gl/system/gl_swframebuffer.cpp polyrenderer/poly_all.cpp + swrenderer/r_all.cpp + x86.cpp PROPERTIES COMPILE_FLAGS "-msse2 -mmmx" ) endif() endif()