CMake: use functions instead of macros

Reduces issues with vars leaking into the parent scope.
This commit is contained in:
Campbell Barton
2015-06-17 09:16:17 +10:00
parent ecdbe3cc63
commit 81b37f5e92
4 changed files with 147 additions and 147 deletions

View File

@@ -1021,7 +1021,6 @@ unset(BLENDER_TEXT_FILES_DESTINATION)
add_dependencies(blender makesdna)
setup_blender_sorted_libs()
target_link_libraries(blender ${BLENDER_SORTED_LIBS})
setup_liblinks(blender)