summaryrefslogtreecommitdiff
path: root/cmake/helpers/EflMacros.cmake
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-01-27 10:03:44 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-01-27 10:03:44 -0200
commit10c3736c87179408d9ffcefcd501d0d39113a6b7 (patch)
tree725e3ba24e9fb1de787494844cb31df9d99494d6 /cmake/helpers/EflMacros.cmake
parenta87ba1d6ad5af97d941e3aa8ac8251e6e0bf8183 (diff)
cmake: if path is absolute, include as-is.
Diffstat (limited to '')
-rw-r--r--cmake/helpers/EflMacros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/helpers/EflMacros.cmake b/cmake/helpers/EflMacros.cmake
index 9ec0ea8e4e..105af397c6 100644
--- a/cmake/helpers/EflMacros.cmake
+++ b/cmake/helpers/EflMacros.cmake
@@ -475,7 +475,7 @@ endfunction()
475function(EFL_FILES_TO_ABSOLUTE _var _srcdir _bindir) 475function(EFL_FILES_TO_ABSOLUTE _var _srcdir _bindir)
476 set(_lst "") 476 set(_lst "")
477 foreach(f ${ARGN}) 477 foreach(f ${ARGN})
478 if(EXISTS "${f}") 478 if(EXISTS "${f}" OR IS_ABSOLUTE "${f}")
479 list(APPEND _lst "${f}") 479 list(APPEND _lst "${f}")
480 elseif(EXISTS "${_srcdir}/${f}") 480 elseif(EXISTS "${_srcdir}/${f}")
481 list(APPEND _lst "${_srcdir}/${f}") 481 list(APPEND _lst "${_srcdir}/${f}")