aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Turan <mail@achim-turan.de>2016-03-25 06:54:56 +0100
committerAchim Turan <mail@achim-turan.de>2016-03-25 07:32:25 +0100
commit4e7da43efcd9acf884072e01e58b3bb16fb8708c (patch)
tree1b674c0c5e637de9cd08b52a0046d01973be95dc
parent9cbbe01f531c4476534660662f59ab6e121873de (diff)
[cmake][addons] Use an absolute path for ADDON_SRC_PREFIX
-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 00db97d8de..36d9340162 100644
--- a/project/cmake/addons/CMakeLists.txt
+++ b/project/cmake/addons/CMakeLists.txt
@@ -132,6 +132,7 @@ endif()
get_filename_component(ADDONS_DEFINITION_DIR "${ADDONS_DEFINITION_DIR}" ABSOLUTE)
if(ADDON_SRC_PREFIX)
+ get_filename_component(ADDON_SRC_PREFIX "${ADDON_SRC_PREFIX}" ABSOLUTE)
message(STATUS "Overriding addon source directory prefix: ${ADDON_SRC_PREFIX}")
endif()