mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
Fixed warning with vtk 7.1. Dont add target "uninstall" if already added from some cmake dependencies
This commit is contained in:
@@ -1679,7 +1679,7 @@ bool CloudViewer::addElevationMap(
|
||||
color[j] = 255 * dcolor[j] / 1.0;
|
||||
}
|
||||
|
||||
#if VTK_MAJOR_VERSION > 7
|
||||
#if VTK_MAJOR_VERSION > 7 || (VTK_MAJOR_VERSION==7 && VTK_MINOR_VERSION >= 1)
|
||||
colors->InsertNextTypedTuple(color);
|
||||
#else
|
||||
colors->InsertNextTupleValue(color);
|
||||
|
||||
Reference in New Issue
Block a user