noetic: Fix simple-message to compile against new Boost

This commit is contained in:
Michal Sojka 2025-03-08 19:09:31 +01:00 committed by Ben Wolsieffer
parent 15bf87e119
commit ae1b3267f2

View file

@ -262,6 +262,15 @@ in {
buildInputs = buildInputs ++ [ self.opencl-clhpp ];
});
simple-message = rosSuper.simple-message.overrideAttrs ({
postPatch ? "", ...
}: {
# Boost.Math requires C++14
postPatch = postPatch + ''
substituteInPlace CMakeLists.txt --replace-fail "set(CMAKE_CXX_STANDARD 11)" "set(CMAKE_CXX_STANDARD 14)"
'';
});
sophus = rosSuper.sophus.overrideAttrs ({
postPatch ? "", ...
}: {