libccd: fix for CMake v4

This commit is contained in:
Guilhem Saurel
2025-09-26 08:42:53 +02:00
parent c1f44d4e91
commit 0007e799fb
+8
View File
@@ -26,6 +26,14 @@ stdenv.mkDerivation rec {
})
];
# fix for CMake v4
# ref https://github.com/danfis/libccd/pull/82, not merged yet
postPatch = ''
substituteInPlace CMakeLists.txt --replace-fail \
"cmake_minimum_required(VERSION 2.8.11)" \
"cmake_minimum_required(VERSION 3.12)"
'';
nativeBuildInputs = [ cmake ];
meta = with lib; {