Add CMake flag to find Qt6

This commit is contained in:
macronova
2024-08-16 18:14:26 -07:00
parent a0a040eae3
commit 35f153ec6e
+5 -3
View File
@@ -1,7 +1,6 @@
{
extra-cmake-modules,
fetchFromGitHub,
full,
kpackage,
libplasma,
lib,
@@ -10,6 +9,7 @@
mpv,
pkg-config,
python3,
qtbase,
}:
mkKdeDerivation {
pname = "wallpaper-engine-kde-plugin";
@@ -32,13 +32,15 @@ mkKdeDerivation {
extraBuildInputs = [
extra-cmake-modules
full
libplasma
lz4
mpv
];
extraCmakeFlags = [ "-DUSE_PLASMAPKG=ON" ];
extraCmakeFlags = [
"-DQt6_DIR=${qtbase}/lib/cmake/Qt6"
"-DUSE_PLASMAPKG=ON"
];
postInstall =
let