From fae417c9a63755e58544feae7822e189439f9b72 Mon Sep 17 00:00:00 2001 From: Sergey Yablokov Date: Sun, 5 Jan 2025 18:23:55 +0100 Subject: [PATCH] Fix linux clang compilation --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a1a73575..8bbcacb3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -193,6 +193,7 @@ if(NOT CMAKE_GENERATOR_PLATFORM MATCHES "ARM64") set_source_files_properties(internal/RendererAVX512.cpp PROPERTIES COMPILE_FLAGS /arch:AVX512) else() set_source_files_properties(internal/simd/detect.cpp PROPERTIES COMPILE_FLAGS -mxsave) + set_source_files_properties(internal/TextureUtilsSSE2.cpp PROPERTIES COMPILE_FLAGS -msse2) set_source_files_properties(internal/RendererSSE2.cpp PROPERTIES COMPILE_FLAGS -msse2) set_source_files_properties(internal/RendererSSE41.cpp PROPERTIES COMPILE_FLAGS -msse4.1) set_source_files_properties(internal/RendererAVX.cpp PROPERTIES COMPILE_FLAGS -mavx)