mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-10 17:54:49 +03:00
noetic: Make laser-geometry compile against new Boost
This commit is contained in:
parent
2fdc733e0d
commit
d166e477c8
1 changed files with 10 additions and 0 deletions
|
@ -52,6 +52,16 @@ in {
|
||||||
nativeBuildInputs = nativeBuildInputs ++ [ self.pkg-config ];
|
nativeBuildInputs = nativeBuildInputs ++ [ self.pkg-config ];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
laser-geometry = rosSuper.laser-geometry.overrideAttrs ({
|
||||||
|
postPatch ? "", ...
|
||||||
|
}: {
|
||||||
|
# Boost.Math 1.87 requires C++14
|
||||||
|
postPatch = postPatch + ''
|
||||||
|
substituteInPlace CMakeLists.txt \
|
||||||
|
--replace-fail 'set(CMAKE_CXX_STANDARD 11)' 'set(CMAKE_CXX_STANDARD 14)'
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
|
||||||
libfranka = rosSuper.libfranka.overrideAttrs ({
|
libfranka = rosSuper.libfranka.overrideAttrs ({
|
||||||
cmakeFlags ? [], ...
|
cmakeFlags ? [], ...
|
||||||
}: {
|
}: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue