Compare commits
2 Commits
c6be855d0f
...
51a76be487
| Author | SHA1 | Date | |
|---|---|---|---|
| 51a76be487 | |||
| a2898ac737 |
@@ -389,7 +389,7 @@ macro(__add_file_or_dir _DIR_VAR _FILE_VAR _PATH _RELPATH)
|
||||
set(_p "${_RELPATH}/${_PATH}")
|
||||
endif()
|
||||
#if (EXISTS "${_p}")
|
||||
if ("${_p}" MATCHES ".*/")
|
||||
if ("${_p}" MATCHES ".*/$")
|
||||
string(LENGTH "${_p}" __sl)
|
||||
math(EXPR __sl ${__sl}-1)
|
||||
string(SUBSTRING "${_p}" 0 ${__sl} _p)
|
||||
|
||||
Reference in New Issue
Block a user