[Bf-blender-cvs] [1318eaf1669] master: Cleanup: CMake: use string(APPEND..), not set(..)

Ankit Meel noreply at git.blender.org
Mon Nov 23 12:05:44 CET 2020


Commit: 1318eaf166947e080c05ed689dbc295817496f1a
Author: Ankit Meel
Date:   Sun Nov 22 15:47:56 2020 +0530
Branches: master
https://developer.blender.org/rB1318eaf166947e080c05ed689dbc295817496f1a

Cleanup: CMake: use string(APPEND..), not set(..)

Left out in {rB7f28a99dd5a57216fb477d844ae1fec5510ad5d5}

===================================================================

M	build_files/cmake/platform/platform_apple.cmake

===================================================================

diff --git a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platform/platform_apple.cmake
index e5ca15a03ba..d9772093235 100644
--- a/build_files/cmake/platform/platform_apple.cmake
+++ b/build_files/cmake/platform/platform_apple.cmake
@@ -449,8 +449,8 @@ endif()
 
 # Avoid conflicts with Luxrender, and other plug-ins that may use the same
 # libraries as Blender with a different version or build options.
-set(PLATFORM_LINKFLAGS
-  "${PLATFORM_LINKFLAGS} -Wl,-unexported_symbols_list,'${CMAKE_SOURCE_DIR}/source/creator/osx_locals.map'"
+string(APPEND PLATFORM_LINKFLAGS
+  " -Wl,-unexported_symbols_list,'${CMAKE_SOURCE_DIR}/source/creator/osx_locals.map'"
 )
 
 string(APPEND CMAKE_CXX_FLAGS " -stdlib=libc++")



More information about the Bf-blender-cvs mailing list