diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-12-06 13:56:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-12-06 13:56:37 +0300 |
commit | d64f46e0bbdd390b2b5487f09638402e7bdfe0e4 (patch) | |
tree | c775bb6b390ba0ac1bc8a906a9d908f51dd07716 /build_files | |
parent | 357826aa6e18c3af1625223656d748b92db86696 (diff) |
CMake: use a global list to store libraries built rather then cmake_blender_libs.txt file.
Diffstat (limited to 'build_files')
-rw-r--r-- | build_files/cmake/macros.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake index 2cac2658104..cb201c53a22 100644 --- a/build_files/cmake/macros.cmake +++ b/build_files/cmake/macros.cmake @@ -41,8 +41,8 @@ MACRO(BLENDERLIB BLENDERLIB_NOLIST(${name} "${sources}" "${includes}") - # Add to blender's list of libraries - FILE(APPEND ${CMAKE_BINARY_DIR}/cmake_blender_libs.txt "${name};") + SET_PROPERTY(GLOBAL APPEND PROPERTY BLENDER_LINK_LIBS ${name}) + ENDMACRO(BLENDERLIB) MACRO(SETUP_LIBDIRS) |