Update FSFW #70
@ -153,10 +153,18 @@ if(NOT ${FSFW_ETL_LIB_NAME}_FOUND)
|
|||||||
FetchContent_MakeAvailable(etl)
|
FetchContent_MakeAvailable(etl)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
export(EXPORT etl
|
# Export the ETL library and make it available in the fsfw namespace. This allows user code
|
||||||
FILE "${CMAKE_CURRENT_BINARY_DIR}/cmake/etl.cmake"
|
# to use the same ETL dependency the framework is using
|
||||||
NAMESPACE fsfw::
|
# You can do this by using the two following directives
|
||||||
|
# include(fsfw-etl)
|
||||||
|
# target_link_libraries(${TARGET_NAME} PRIVATE fsfw::etl)
|
||||||
|
export(
|
||||||
|
TARGETS ${FSFW_ETL_LIB_NAME}
|
||||||
|
FILE "${CMAKE_CURRENT_BINARY_DIR}/cmake/fsfw-etl.cmake"
|
||||||
|
NAMESPACE fsfw::
|
||||||
)
|
)
|
||||||
|
# Append the export directory to the module path
|
||||||
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_BINARY_DIR}/cmake")
|
||||||
|
|
||||||
set(FSFW_CORE_INC_PATH "inc")
|
set(FSFW_CORE_INC_PATH "inc")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user