qjoypad: fix build with cmake 4

This commit is contained in:
Rexiel Scarlet
2025-10-21 15:42:06 +04:00
parent 5e2a59a5b1
commit 3864a2a11a

View File

@@ -21,6 +21,11 @@ mkDerivation rec {
hash = "sha256:1w26ddxb1xirb7qjf7kv9llxzjhbhcb7warnxbx41qhbni46g26y";
};
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 2.8.11)" "cmake_minimum_required(VERSION 3.10)"
'';
nativeBuildInputs = [
pkg-config
cmake