fixed a bug for default cfg path
This commit is contained in:
parent
a827ec6a92
commit
e02ac05097
@ -223,9 +223,10 @@ endif()
|
|||||||
# The project CMakeLists file has to set the FSFW_CONFIG_PATH and add it.
|
# The project CMakeLists file has to set the FSFW_CONFIG_PATH and add it.
|
||||||
# If this is not given, we include the default configuration and emit a warning.
|
# If this is not given, we include the default configuration and emit a warning.
|
||||||
if(NOT FSFW_CONFIG_PATH)
|
if(NOT FSFW_CONFIG_PATH)
|
||||||
message(WARNING "Flight Software Framework configuration path not set!")
|
message(WARNING "Flight Software Framework configuration path not set!")
|
||||||
message(WARNING "Setting default configuration!")
|
set(DEF_CONF_PATH misc/defaultcfg/fsfwconfig)
|
||||||
add_subdirectory(defaultcfg/fsfwconfig)
|
message(WARNING "Setting default configuration from ${DEF_CONF_PATH} ..")
|
||||||
|
add_subdirectory(${DEF_CONF_PATH})
|
||||||
endif()
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user