[plasmalnf] Be quiet at find_package() for Plasma

If the requirements are not met, the module will be listed in
the skipped-modules overview.
This commit is contained in:
Adriaan de Groot 2024-12-21 14:18:01 +01:00
parent 59985eaf4e
commit c251be3ef3

View File

@ -13,7 +13,7 @@ if(WITH_QT6)
set(_plasma_libraries "Plasma::Plasma") set(_plasma_libraries "Plasma::Plasma")
set(_plasma_name "Plasma") set(_plasma_name "Plasma")
find_package(${kfname} ${KF_VERSION} QUIET COMPONENTS Config Package) find_package(${kfname} ${KF_VERSION} QUIET COMPONENTS Config Package)
find_package(Plasma ${PLASMA_VERSION}) find_package(Plasma ${PLASMA_VERSION} QUIET)
else() else()
set(_plasma_libraries "${kfname}::Plasma") set(_plasma_libraries "${kfname}::Plasma")
set(_plasma_name "KF5Plasma") set(_plasma_name "KF5Plasma")