mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-09 17:42:22 +03:00
noetic: tf: fix Boost compatibility
This commit is contained in:
parent
a44e8e9175
commit
bdd292b3c6
1 changed files with 11 additions and 0 deletions
|
@ -168,6 +168,17 @@ in {
|
|||
'';
|
||||
});
|
||||
|
||||
tf = rosSuper.tf.overrideAttrs ({
|
||||
postPatch ? "", ...
|
||||
}: {
|
||||
# Boost.Math 1.87 requires C++14
|
||||
postPatch = postPatch + ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail COMPILER_SUPPORTS_CXX11 COMPILER_SUPPORTS_CXX14 \
|
||||
--replace-fail '-std=c++11' '-std=c++14'
|
||||
'';
|
||||
});
|
||||
|
||||
tf2 = rosSuper.tf2.overrideAttrs ({
|
||||
patches ? [], ...
|
||||
}: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue