From 360080de176a26a572384ea308e623f01eeeea3d Mon Sep 17 00:00:00 2001 From: K900 Date: Tue, 15 Nov 2022 10:28:07 +0300 Subject: [PATCH] kmplayer: fix cmake configuration --- pkgs/applications/video/kmplayer/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/video/kmplayer/default.nix b/pkgs/applications/video/kmplayer/default.nix index 986faceb82d..a3c5b181725 100644 --- a/pkgs/applications/video/kmplayer/default.nix +++ b/pkgs/applications/video/kmplayer/default.nix @@ -27,6 +27,9 @@ mkDerivation rec { -e "s,^Exec.*,Exec=$out/bin/kmplayer -qwindowtitle %c %i %U," ''; + # required for kf5auth to work correctly + cmakeFlags = ["-DCMAKE_POLICY_DEFAULT_CMP0012=NEW"]; + nativeBuildInputs = [ extra-cmake-modules makeWrapper ]; buildInputs = [