toluapp: fix build against cmake 4
This commit is contained in:
@@ -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/";
|
||||
|
||||
Reference in New Issue
Block a user