xkb-switch: fix build with CMake 4

This commit is contained in:
Ben Siraphob
2025-10-09 12:15:36 +07:00
parent a5cedabfbf
commit 24594f2373

View File

@@ -24,6 +24,10 @@ stdenv.mkDerivation rec {
libxkbfile libxkbfile
]; ];
cmakeFlags = [
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
];
meta = with lib; { meta = with lib; {
description = "Switch your X keyboard layouts from the command line"; description = "Switch your X keyboard layouts from the command line";
homepage = "https://github.com/ierton/xkb-switch"; homepage = "https://github.com/ierton/xkb-switch";