find_package call for Catch2 quiet

This commit is contained in:
Robin Müller 2022-04-26 16:31:45 +02:00
parent c5a7b98a7d
commit ec2e274f22
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -98,7 +98,7 @@ endif()
if(FSFW_BUILD_UNITTESTS)
message(STATUS "${MSG_PREFIX} Building the FSFW unittests in addition to the static library")
# Check whether the user has already installed Catch2 first
find_package(Catch2 ${FSFW_CATCH2_LIB_MAJOR_VERSION})
find_package(Catch2 ${FSFW_CATCH2_LIB_MAJOR_VERSION} QUIET)
# Not installed, so use FetchContent to download and provide Catch2
if(NOT Catch2_FOUND)
message(STATUS "${MSG_PREFIX} Catch2 installation not found. Downloading Catch2 library with FetchContent")