mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 01:04:06 +01:00
rtabmap: fix boost 1.89 compatibility
This commit is contained in:
parent
18e9d6ba19
commit
6efeb534b1
1 changed files with 8 additions and 1 deletions
|
|
@ -2,7 +2,6 @@
|
|||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
|
||||
# nativeBuildInputs
|
||||
cmake,
|
||||
|
|
@ -51,6 +50,14 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
hash = "sha256-u9wswlFkGpPgJaBwSddnpv49wBAmkKRwWFO5jQ9/twA=";
|
||||
};
|
||||
|
||||
# Fix boost 1.89 compatibility
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail \
|
||||
"find_package(Boost COMPONENTS thread filesystem system program_options date_time chrono timer serialization REQUIRED)" \
|
||||
"find_package(Boost COMPONENTS thread filesystem program_options date_time chrono timer serialization REQUIRED)"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
qt6.wrapQtAppsHook
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue