1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00

melodic: image-view: fix build

This commit is contained in:
Ben Wolsieffer 2021-05-30 14:22:13 -04:00
parent ec0757eb80
commit 36d339931b

View file

@ -34,6 +34,17 @@ rosSelf: rosSuper: with rosSelf.lib; {
];
});
image-view = rosSuper.image-view.overrideAttrs ({
cmakeFlags ? [], ...
}: {
# The problem is very similar to this:
# https://github.com/ros/ros-overlay/issues/607
cmakeFlags = cmakeFlags ++ [
"-DGTK2_GLIBCONFIG_INCLUDE_DIR:PATH=${self.glib.out}/lib/glib-2.0/include"
"-DGTK2_GDKCONFIG_INCLUDE_DIR:PATH=${self.gtk2.out}/lib/gtk-2.0/include"
];
});
pcl-ros = rosSuper.pcl-ros.overrideAttrs ({
patches ? [], ...
}: {