From 2bd8f7e05936a932d816b722c433a7165de64db0 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 6 Nov 2020 10:29:04 +1100 Subject: Cleanup: use string APPEND/PREPEND Replace 'set' with 'string(APPEND/PREPEND ...)'. This avoids duplicating the variable name. --- source/blender/render/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/render/CMakeLists.txt') diff --git a/source/blender/render/CMakeLists.txt b/source/blender/render/CMakeLists.txt index 598e6e019d4..41caee1a39c 100644 --- a/source/blender/render/CMakeLists.txt +++ b/source/blender/render/CMakeLists.txt @@ -101,8 +101,8 @@ endif() if(APPLE) # SSE math is enabled by default on x86_64 if(CMAKE_OSX_ARCHITECTURES MATCHES "i386") - set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -mfpmath=sse") - set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -mfpmath=sse") + string(APPEND CMAKE_C_FLAGS_RELEASE " -mfpmath=sse") + string(APPEND CMAKE_CXX_FLAGS_RELEASE " -mfpmath=sse") endif() endif() -- cgit v1.2.3