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,9 +167,12 @@ macro(deploy_target _T)
if (NOT _II) if (NOT _II)
#message("depend on ${_L}") #message("depend on ${_L}")
set(_DEP_LIBPATH "${_DEP_LIBPATH};$<TARGET_FILE_DIR:${_L}>") set(_DEP_LIBPATH "${_DEP_LIBPATH};$<TARGET_FILE_DIR:${_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}>") set(_DEP_LIBS "${_DEP_LIBS} $<TARGET_FILE_DIR:${_L}>/$<TARGET_FILE_NAME:${_L}>")
endif() endif()
endif() endif()
endif()
endforeach() endforeach()
#message("app depend libpath ${_DEP_LIBPATH}") #message("app depend libpath ${_DEP_LIBPATH}")
if ("x${CMAKE_SYSTEM_NAME}" STREQUAL "xLinux") if ("x${CMAKE_SYSTEM_NAME}" STREQUAL "xLinux")