mirror of
https://github.com/lifegpc/pixiv_downloader.git
synced 2026-07-08 01:32:41 +08:00
add support for ugoira
add progress bar
This commit is contained in:
@@ -9,20 +9,25 @@ function(get_link_libraries OUTPUT_LIST TARGET)
|
||||
set(LIB_FILES "")
|
||||
foreach(LIB ${LIBS})
|
||||
if (TARGET ${LIB})
|
||||
get_target_property(LIB_IMPORTED ${LIB} IMPORTED)
|
||||
list(FIND VISITED_TARGETS ${LIB} VISITED)
|
||||
if (${VISITED} EQUAL -1)
|
||||
get_target_property(LIB_FILE ${LIB} LOCATION)
|
||||
if (NOT LIB_FILE)
|
||||
get_target_property(LIB_FILE ${LIB} IMPORTED_LOCATION)
|
||||
if (LIB_IMPORTED)
|
||||
get_target_property(LIB_FILE ${LIB} LOCATION)
|
||||
if (NOT LIB_FILE)
|
||||
get_target_property(LIB_FILE ${LIB} IMPORTED_LOCATION)
|
||||
endif()
|
||||
if (NOT LIB_FILE)
|
||||
get_target_property(LIB_FILE ${LIB} IMPORTED_IMPLIB)
|
||||
endif()
|
||||
if (NOT LIB_FILE)
|
||||
get_target_property(LIB_FILE ${LIB} INTERFACE_LINK_LIBRARIES)
|
||||
endif()
|
||||
get_link_libraries(LINK_LIB_FILES ${LIB})
|
||||
list(APPEND LIB_FILES ${LIB_FILE} ${LINK_LIB_FILES})
|
||||
else()
|
||||
list(APPEND LIB_FILES ${LIB})
|
||||
endif()
|
||||
if (NOT LIB_FILE)
|
||||
get_target_property(LIB_FILE ${LIB} IMPORTED_IMPLIB)
|
||||
endif()
|
||||
if (NOT LIB_FILE)
|
||||
get_target_property(LIB_FILE ${LIB} INTERFACE_LINK_LIBRARIES)
|
||||
endif()
|
||||
get_link_libraries(LINK_LIB_FILES ${LIB})
|
||||
list(APPEND LIB_FILES ${LIB_FILE} ${LINK_LIB_FILES})
|
||||
endif()
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
Reference in New Issue
Block a user