Fix Blender not rebuilding when changing linker script

This commit is contained in:
Brecht Van Lommel 2020-04-07 13:42:43 +02:00
parent 58e20b432a
commit 6feeede47f
1 changed files with 6 additions and 0 deletions

View File

@ -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