summaryrefslogtreecommitdiff
path: root/rtabmap.spec
diff options
context:
space:
mode:
Diffstat (limited to 'rtabmap.spec')
-rw-r--r--rtabmap.spec3
1 files changed, 1 insertions, 2 deletions
diff --git a/rtabmap.spec b/rtabmap.spec
index d817408..439fea5 100644
--- a/rtabmap.spec
+++ b/rtabmap.spec
@@ -17,6 +17,7 @@ Summary: RTAB-Map's standalone library. RTAB-Map is a RGB-D SLAM approach
Url: http://introlab.github.io/rtabmap
License: BSD
Source0: https://github.com/introlab/rtabmap/archive/refs/tags/%{version}.tar.gz
+Patch0: add-suitesparse-include.patch
Requires: ros-%{ros_distro}-cv-bridge
Requires: ros-%{ros_distro}-libg2o
@@ -55,8 +56,6 @@ RTAB-Map's standalone library. RTAB-Map is a RGB-D SLAM approach with real-time
%prep
%autosetup -p1 -n rtabmap-%{version}
-# Add suitesparse include directory for g2o's csparse extension
-sed -i '/^project/a include_directories(/usr/include/suitesparse)' CMakeLists.txt
%build
# Needed to bootstrap since the ros_workspace package does not yet exist.