Commit afbaf6c9 authored by Ronan's avatar Ronan

fix(generate-descs-header): supports absolute paths

parent 5708fa39
......@@ -23,7 +23,11 @@
set(ABS_SOURCE_FILES )
string(REPLACE " " ";" SOURCE_FILES ${SOURCE_FILES})
foreach(SOURCE_FILE ${SOURCE_FILES})
list(APPEND ABS_SOURCE_FILES "${INPUT_DIR}/${SOURCE_FILE}")
if(IS_ABSOLUTE ${SOURCE_FILE})
list(APPEND ABS_SOURCE_FILES "${SOURCE_FILE}")
else()
list(APPEND ABS_SOURCE_FILES "${INPUT_DIR}/${SOURCE_FILE}")
endif()
endforeach()
execute_process(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment