From 858c10f8453390494b3545eb3973de0437c7853d Mon Sep 17 00:00:00 2001 From: Matthias Mayer Date: Mon, 22 Jul 2019 09:21:27 +0000 Subject: [PATCH] Fix include error Followed https://github.com/blodow/realtime_urdf_filter/issues/18 to make it run on ubuntu 18.04 + Melodic --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ed887a5..334d956 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,7 +42,7 @@ catkin_package( # LIBRARIES urdf_filter shadowwrapper ) -include_directories(${catkin_INCLUDE_DIR} include) +include_directories(${catkin_INCLUDE_DIRS} include) include_directories(SYSTEM ${ASSIMP_INCLUDE_DIRS}) link_directories(${catkin_LIBRARY_DIRS} ${ASSIMP_LIBRARY_DIRS}) @@ -52,7 +52,7 @@ find_package(OpenCV REQUIRED) find_package(OpenGL) find_library(freeglut_LIBRARY glut /usr/lib) -include_directories(${OPENGL_INCLUDE_DIR} ${catkin_INCLUDE_DIR}) +include_directories(${OPENGL_INCLUDE_DIR} ${catkin_INCLUDE_DIRS}) find_path( freeglut_INCLUDE_DIR GL/freeglut.h /usr/include/GL