Skip to content
Snippets Groups Projects
Commit d4c993f4 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Changes to make it compile in ubuntu 20.04

parent 569d0087
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ FetchContent_MakeAvailable(rapidcsv)
# locate the necessary dependencies
FIND_PACKAGE(catkin REQUIRED COMPONENTS roscpp)
FIND_PACKAGE(PCL REQUIRED COMPONENTS common)
FIND_PACKAGE(PCL REQUIRED COMPONENTS common filters)
# add the necessary include directories
INCLUDE_DIRECTORIES(../include)
......@@ -34,7 +34,7 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_LIST_DIR}/../rapidcsv/src)
# create the shared library
ADD_LIBRARY(${PROJECT_NAME} SHARED ${sources})
# link necessary libraries
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${PCL_COMMON_LIBRARIES})
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${PCL_LIBRARIES})
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${catkin_LIBRARIES})
INSTALL(TARGETS ${PROJECT_NAME}
RUNTIME DESTINATION bin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment