qjoypad: fix build with cmake 4 (#454180)

This commit is contained in:
Fernando Rodrigues
2025-10-22 02:48:25 +00:00
committed by GitHub
+5
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