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

Left out in {rB7f28a99dd5a57216fb477d844ae1fec5510ad5d5}
This commit is contained in:
Ankit Meel 2020-11-22 15:47:56 +05:30
parent 36426b0a68
commit 1318eaf166
Notes: blender-bot 2023-02-13 20:24:59 +01:00
Referenced by issue #83099, heap-use-after-free  in script_load_addons test
1 changed files with 2 additions and 2 deletions

View File

@ -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++")