toluapp: fix build against cmake 4

This commit is contained in:
Colin
2025-10-07 03:42:56 +00:00
parent ea839424d5
commit 657b23413a
@@ -25,6 +25,12 @@ stdenv.mkDerivation rec {
./headers.patch
];
postPatch = ''
substituteInPlace CMakeLists.txt --replace-fail \
'cmake_minimum_required ( VERSION 2.8 )' \
'cmake_minimum_required ( VERSION 4.0 )'
'';
meta = with lib; {
description = "Tool to integrate C/Cpp code with Lua";
homepage = "http://www.codenix.com/~tolua/";