forked from bartvdbraak/blender
cmake was complaining when there was no libs skipped.
This commit is contained in:
parent
61a7c8d4ae
commit
5c621bd7f5
@ -144,8 +144,10 @@ if(UNIX)
|
|||||||
list(REMOVE_ITEM BLENDER_SORTED_LIBS ${REMLIB})
|
list(REMOVE_ITEM BLENDER_SORTED_LIBS ${REMLIB})
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
if(REM_MSG)
|
||||||
list(SORT REM_MSG)
|
list(SORT REM_MSG)
|
||||||
message(STATUS "Player Skipping: (${REM_MSG})")
|
message(STATUS "Player Skipping: (${REM_MSG})")
|
||||||
|
endif()
|
||||||
target_link_libraries(blenderplayer ${BLENDER_SORTED_LIBS})
|
target_link_libraries(blenderplayer ${BLENDER_SORTED_LIBS})
|
||||||
else()
|
else()
|
||||||
target_link_libraries(blenderplayer ${BLENDER_LINK_LIBS})
|
target_link_libraries(blenderplayer ${BLENDER_LINK_LIBS})
|
||||||
|
@ -586,7 +586,6 @@ endif()
|
|||||||
list(APPEND BLENDER_SORTED_LIBS bf_quicktime)
|
list(APPEND BLENDER_SORTED_LIBS bf_quicktime)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
foreach(SORTLIB ${BLENDER_SORTED_LIBS})
|
foreach(SORTLIB ${BLENDER_SORTED_LIBS})
|
||||||
set(REMLIB ${SORTLIB})
|
set(REMLIB ${SORTLIB})
|
||||||
foreach(SEARCHLIB ${BLENDER_LINK_LIBS})
|
foreach(SEARCHLIB ${BLENDER_LINK_LIBS})
|
||||||
@ -600,8 +599,10 @@ endif()
|
|||||||
list(REMOVE_ITEM BLENDER_SORTED_LIBS ${REMLIB})
|
list(REMOVE_ITEM BLENDER_SORTED_LIBS ${REMLIB})
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
if(REM_MSG)
|
||||||
list(SORT REM_MSG)
|
list(SORT REM_MSG)
|
||||||
message(STATUS "Blender Skipping: (${REM_MSG})")
|
message(STATUS "Blender Skipping: (${REM_MSG})")
|
||||||
|
endif()
|
||||||
target_link_libraries(blender ${BLENDER_SORTED_LIBS})
|
target_link_libraries(blender ${BLENDER_SORTED_LIBS})
|
||||||
#else()
|
#else()
|
||||||
# target_link_libraries(blender ${BLENDER_LINK_LIBS})
|
# target_link_libraries(blender ${BLENDER_LINK_LIBS})
|
||||||
|
Loading…
Reference in New Issue
Block a user