git-svn-id: svn://db.shs.com.ru/libs@835 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2020-03-18 19:42:48 +00:00
parent 3917e74f27
commit a85da8a732

View File

@@ -167,7 +167,10 @@ macro(deploy_target _T)
if (NOT _II)
#message("depend on ${_L}")
set(_DEP_LIBPATH "${_DEP_LIBPATH};$<TARGET_FILE_DIR:${_L}>")
set(_DEP_LIBS "${_DEP_LIBS} $<TARGET_FILE_DIR:${_L}>/$<TARGET_FILE_NAME:${_L}>")
get_target_property(_LT ${_L} TYPE)
if ("x${_LT}" STREQUAL "SHARED_LIBRARY")
set(_DEP_LIBS "${_DEP_LIBS} $<TARGET_FILE_DIR:${_L}>/$<TARGET_FILE_NAME:${_L}>")
endif()
endif()
endif()
endforeach()