vangers: fix build for cmake 4

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
Ethan Carter Edwards
2025-10-18 01:51:27 -04:00
parent 8bba0c8393
commit 00d247dcfc
+6
View File
@@ -26,6 +26,12 @@ stdenv.mkDerivation {
hash = "sha256-IhCQh60wBzaRsj72Y8NUHrv9lvss0fmgHjzrO/subOI=";
};
postPatch = ''
substituteInPlace CMakeLists.txt --replace-fail \
"CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)" \
"CMAKE_MINIMUM_REQUIRED(VERSION 4.0)"
'';
buildInputs = [
SDL2
SDL2_net