cmake/kwineffects: parametrise version and fix build

This commit is contained in:
Yari Polla 2023-03-14 14:53:41 +01:00
parent eb03fe8c94
commit 373f298451

View file

@ -77,7 +77,7 @@ pkg_check_modules(GIO gio-2.0 REQUIRED IMPORTED_TARGET)
find_package(KF6KirigamiAddons 0.6 REQUIRED)
find_package(epoxy REQUIRED)
find_package(XCB REQUIRED COMPONENTS XCB)
find_package(KWinEffects 5.27.0 REQUIRED COMPONENTS
find_package(KWinEffects ${PROJECT_VERSION} REQUIRED COMPONENTS
kwineffects
)