Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2020-04-07 14:42:43 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-04-07 14:44:18 +0300
commit6feeede47ffa59f4128da7a82d1e0f115337bdac (patch)
treeeffb129e0f1fe8d1e699e42981407fff8b3da53c /source/creator/CMakeLists.txt
parent58e20b432a2bd7fbff7ebb7aa1f49a6662dc6e7c (diff)
Fix Blender not rebuilding when changing linker script
Diffstat (limited to 'source/creator/CMakeLists.txt')
-rw-r--r--source/creator/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index ced0532a8fa..4b51f9738b3 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -1061,6 +1061,12 @@ unset(LIB)
setup_liblinks(blender)
+if(APPLE)
+ set_target_properties(blender PROPERTIES LINK_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/osx_locals.map)
+elseif(UNIX)
+ set_target_properties(blender PROPERTIES LINK_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/blender.map)
+endif()
+
# -----------------------------------------------------------------------------
# USD registry.
# USD requires a set of JSON files that define the standard schemas. These