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:
authorCampbell Barton <ideasman42@gmail.com>2010-12-17 07:41:48 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-12-17 07:41:48 +0300
commit5c621bd7f5a2647547b8a18eccce8fa1dee47500 (patch)
treedbfe93266622387d867b3f1e3b25e49cbc9d12a2 /source/creator
parent61a7c8d4ae0e92dc2f56df1cd157b3ba52f59c1b (diff)
cmake was complaining when there was no libs skipped.
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index c3a0b003917..3328a8a1707 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -586,7 +586,6 @@ endif()
list(APPEND BLENDER_SORTED_LIBS bf_quicktime)
endif()
-
foreach(SORTLIB ${BLENDER_SORTED_LIBS})
set(REMLIB ${SORTLIB})
foreach(SEARCHLIB ${BLENDER_LINK_LIBS})
@@ -600,8 +599,10 @@ endif()
list(REMOVE_ITEM BLENDER_SORTED_LIBS ${REMLIB})
endif()
endforeach()
- list(SORT REM_MSG)
- message(STATUS "Blender Skipping: (${REM_MSG})")
+ if(REM_MSG)
+ list(SORT REM_MSG)
+ message(STATUS "Blender Skipping: (${REM_MSG})")
+ endif()
target_link_libraries(blender ${BLENDER_SORTED_LIBS})
#else()
# target_link_libraries(blender ${BLENDER_LINK_LIBS})