hotfix for ETL lib dep

This commit is contained in:
Robin Müller 2022-04-27 09:08:17 +02:00
parent e796f82203
commit c80f06fbcb
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -108,9 +108,9 @@ endif()
message(STATUS "Finding and/or providing ETL library") message(STATUS "Finding and/or providing ETL library")
# Check whether the user has already installed ETL first # Check whether the user has already installed ETL first
find_package(${FSFW_ETL_LIB_NAME} ${FSFW_ETL_LIB_MAJOR_VERSION} QUIET) # find_package(${FSFW_ETL_LIB_NAME} ${FSFW_ETL_LIB_MAJOR_VERSION} QUIET)
# Not installed, so use FetchContent to download and provide etl # Not installed, so use FetchContent to download and provide etl
if(NOT ${FSFW_ETL_LIB_NAME}_FOUND) # if(NOT ${FSFW_ETL_LIB_NAME}_FOUND)
message(STATUS message(STATUS
"No ETL installation was found with find_package. Installing and providing " "No ETL installation was found with find_package. Installing and providing "
"etl with FindPackage" "etl with FindPackage"
@ -124,7 +124,7 @@ if(NOT ${FSFW_ETL_LIB_NAME}_FOUND)
) )
FetchContent_MakeAvailable(etl) FetchContent_MakeAvailable(etl)
endif() # endif()
set(FSFW_CORE_INC_PATH "inc") set(FSFW_CORE_INC_PATH "inc")