From 373f298451e3e16024a28953b1e32815e03b3e3d Mon Sep 17 00:00:00 2001 From: Yari Polla Date: Tue, 14 Mar 2023 14:53:41 +0100 Subject: [PATCH] cmake/kwineffects: parametrise version and fix build --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f618c7fc..7b92d606 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 )