netcoredbg: fix build with cmake 4 (#450254)
This commit is contained in:
@@ -44,6 +44,15 @@ let
|
||||
|
||||
hardeningDisable = [ "strictoverflow" ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt --replace-fail \
|
||||
"cmake_minimum_required(VERSION 2.8.12.2)" \
|
||||
"cmake_minimum_required(VERSION 3.10)"
|
||||
substituteInPlace third_party/linenoise-ng/CMakeLists.txt --replace-fail \
|
||||
"cmake_minimum_required(VERSION 2.6)" \
|
||||
"cmake_minimum_required(VERSION 3.10)"
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user