From e0c7bf77087fa9251b8a644e8402a79b6b91462f Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Thu, 30 May 2019 13:24:06 -0500 Subject: [PATCH] Fix clang/32-bit build Rendering bits got restructured and the SSE_MATTERS paths were not updated to reflect that. A 32-bit build with clang subsequently complaints as the files in question are not compiled with -mmmx. --- src/CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 463ac9092..9caa9c666 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1458,10 +1458,9 @@ if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE ) # Need to enable intrinsics for these files. if( SSE_MATTERS ) set_source_files_properties( - gl/system/gl_swframebuffer.cpp - polyrenderer/poly_all.cpp - swrenderer/r_all.cpp - x86.cpp + rendering/polyrenderer/poly_all.cpp + rendering/swrenderer/r_all.cpp + utility/x86.cpp PROPERTIES COMPILE_FLAGS "-msse2 -mmmx" ) endif() endif()