Merge branch 'mueller/add-etl-dependency' into mueller/master
This commit is contained in:
commit
0cb2868b24
@ -64,7 +64,7 @@ add_library(${LIB_FSFW_NAME})
|
||||
if(FSFW_BUILD_UNITTESTS)
|
||||
message(STATUS "Building the FSFW unittests in addition to the static library")
|
||||
# Check whether the user has already installed Catch2 first
|
||||
find_package(Catch2 3)
|
||||
find_package(Catch2 ${FSFW_CATCH2_LIB_MAJOR_VERSION})
|
||||
# Not installed, so use FetchContent to download and provide Catch2
|
||||
if(NOT Catch2_FOUND)
|
||||
include(FetchContent)
|
||||
@ -106,6 +106,9 @@ endif()
|
||||
|
||||
message(STATUS "Finding and/or providing ETL library")
|
||||
# Check whether the user has already installed Catch2 first
|
||||
# I think the version provisioning feature of CMake has not been implemented for the ETL library
|
||||
# yet. Therefore we can not specify any (not even the major) version here and we have to rely
|
||||
# on the user having installed the correct version for now
|
||||
find_package(${FSFW_ETL_LIB_NAME} QUIET)
|
||||
# Not installed, so use FetchContent to download and provide etl
|
||||
if(NOT ${FSFW_ETL_LIB_NAME}_FOUND)
|
||||
|
Loading…
x
Reference in New Issue
Block a user