cmake: if path is absolute, include as-is.

This commit is contained in:
Gustavo Sverzut Barbieri 2017-01-27 10:03:44 -02:00
parent a87ba1d6ad
commit 10c3736c87
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ endfunction()
function(EFL_FILES_TO_ABSOLUTE _var _srcdir _bindir)
set(_lst "")
foreach(f ${ARGN})
if(EXISTS "${f}")
if(EXISTS "${f}" OR IS_ABSOLUTE "${f}")
list(APPEND _lst "${f}")
elseif(EXISTS "${_srcdir}/${f}")
list(APPEND _lst "${_srcdir}/${f}")