mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
igprof: fix build with cmake4 (#475687)
This commit is contained in:
@@ -20,7 +20,10 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/igprof --replace libigprof.so $out/lib/libigprof.so
|
||||
substituteInPlace src/igprof \
|
||||
--replace-fail libigprof.so $out/lib/libigprof.so
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail "CMAKE_MINIMUM_REQUIRED(VERSION 2.6)" "CMAKE_MINIMUM_REQUIRED(VERSION 3.10)"
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user