cmake was complaining when there was no libs skipped.

This commit is contained in:
Campbell Barton 2010-12-17 04:41:48 +00:00
parent 61a7c8d4ae
commit 5c621bd7f5
2 changed files with 8 additions and 5 deletions

@ -144,8 +144,10 @@ if(UNIX)
list(REMOVE_ITEM BLENDER_SORTED_LIBS ${REMLIB})
endif()
endforeach()
if(REM_MSG)
list(SORT REM_MSG)
message(STATUS "Player Skipping: (${REM_MSG})")
endif()
target_link_libraries(blenderplayer ${BLENDER_SORTED_LIBS})
else()
target_link_libraries(blenderplayer ${BLENDER_LINK_LIBS})

@ -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()
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})