From 2bde2d82681594ef79d73485ed5ea2c58a843de6 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Thu, 13 Feb 2020 15:29:48 +0200 Subject: [PATCH] - fixed 32-bit Linux build with SSE support enabled --- src/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 292fba760..5417a09e2 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1301,11 +1301,12 @@ endif() if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE ) # Need to enable intrinsics for these files. if( SSE_MATTERS ) - set_source_files_properties( + set_property( SOURCE rendering/polyrenderer/poly_all.cpp rendering/swrenderer/r_all.cpp + utility/palette.cpp utility/x86.cpp - PROPERTIES COMPILE_FLAGS "-msse2 -mmmx" ) + APPEND_STRING PROPERTY COMPILE_FLAGS " -msse2 -mmmx" ) endif() endif()