better path determination
This commit is contained in:
parent
e030d7ed97
commit
be20978998
@ -98,10 +98,10 @@ endif()
|
|||||||
# FSFW might be part of a possibly complicated folder structure, so we
|
# FSFW might be part of a possibly complicated folder structure, so we
|
||||||
# extract the absolute path of the fsfwconfig folder.
|
# extract the absolute path of the fsfwconfig folder.
|
||||||
if(IS_ABSOLUTE ${FSFW_CONFIG_PATH})
|
if(IS_ABSOLUTE ${FSFW_CONFIG_PATH})
|
||||||
set(${FSFW_CONFIG_PATH_ABSOLUTE} ${FSFW_CONFIG_PATH})
|
set(FSFW_CONFIG_PATH_ABSOLUTE ${FSFW_CONFIG_PATH})
|
||||||
else()
|
else()
|
||||||
get_filename_component(${FSFW_CONFIG_PATH_ABSOLUTE}
|
get_filename_component(FSFW_CONFIG_PATH_ABSOLUTE
|
||||||
${FSFW_CONFIG_PATH} ABSOLUTE
|
${FSFW_CONFIG_PATH} REALPATH BASE_DIR ${CMAKE_SOURCE_DIR}
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user