aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authormontellese <montellese@xbmc.org>2015-01-27 13:21:25 +0100
committermontellese <montellese@xbmc.org>2015-01-27 13:21:25 +0100
commit0226fb0c3c32839067dcd3439defea90d3545807 (patch)
tree77353160042b4e02d6f5be37a7d1e4f59c877119 /project
parenta990ab694d17ff64f1309b64900df4958849f8b4 (diff)
cmake: add missing get_filename_component() for DEPENDS_PATH
Diffstat (limited to 'project')
-rw-r--r--project/cmake/addons/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/project/cmake/addons/CMakeLists.txt b/project/cmake/addons/CMakeLists.txt
index 48e758ede5..a578d04a7d 100644
--- a/project/cmake/addons/CMakeLists.txt
+++ b/project/cmake/addons/CMakeLists.txt
@@ -36,6 +36,7 @@ if(NOT DEPENDS_PATH)
else()
file(TO_CMAKE_PATH "${DEPENDS_PATH}" DEPENDS_PATH)
endif()
+get_filename_component(DEPENDS_PATH "${DEPENDS_PATH}" ABSOLUTE)
# make sure CMAKE_PREFIX_PATH is set
if(NOT CMAKE_PREFIX_PATH)