git-svn-id: svn://db.shs.com.ru/pip@1059 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -82,6 +82,9 @@ FILES | root | /usr/bin | Contents/MacOS
|
|||||||
|
|
||||||
Relative paths are taken from DEPLOY_DIR
|
Relative paths are taken from DEPLOY_DIR
|
||||||
Also check library dependencies from PLUGINS and FILES
|
Also check library dependencies from PLUGINS and FILES
|
||||||
|
Important! RESOURCES, PLUGINS and FILES lists check
|
||||||
|
at cmake-time, so if entry ends with "/" it treat
|
||||||
|
as directory, else - file
|
||||||
|
|
||||||
|
|
||||||
This macro using "deploy_tool" from PIP,
|
This macro using "deploy_tool" from PIP,
|
||||||
@@ -354,7 +357,7 @@ macro(__add_file_or_dir _DIR_VAR _FILE_VAR _PATH _RELPATH)
|
|||||||
set(_p "${_RELPATH}/${_PATH}")
|
set(_p "${_RELPATH}/${_PATH}")
|
||||||
endif()
|
endif()
|
||||||
#if (EXISTS "${_p}")
|
#if (EXISTS "${_p}")
|
||||||
if (IS_DIRECTORY "${_p}")
|
if ("${_p}" MATCHES "*/")
|
||||||
list(APPEND ${_DIR_VAR} "${_p}")
|
list(APPEND ${_DIR_VAR} "${_p}")
|
||||||
else()
|
else()
|
||||||
list(APPEND ${_FILE_VAR} "${_p}")
|
list(APPEND ${_FILE_VAR} "${_p}")
|
||||||
|
|||||||
Reference in New Issue
Block a user