Skip to content

Commit

Permalink
Update ros-noetic-map-server.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias-Fischer authored Jan 21, 2023
1 parent 7cde7b0 commit bb446de
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions patch/ros-noetic-map-server.patch
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
diff --git a/map_server/CMakeLists.txt b/map_server/CMakeLists.txt
index 147c9ae50..91c43cb3c 100644
index 147c9ae50..f360d469c 100644
--- a/map_server/CMakeLists.txt
+++ b/map_server/CMakeLists.txt
@@ -11,7 +11,7 @@ find_package(catkin REQUIRED
find_package(Bullet REQUIRED)
find_package(SDL REQUIRED)
find_package(SDL_image REQUIRED)
-find_package(Boost REQUIRED COMPONENTS filesystem)
+find_package(Boost REQUIRED COMPONENTS filesystem system)
@@ -63,6 +63,7 @@ target_link_libraries(map_server
map_server_image_loader
${YAMLCPP_LIBRARIES}
${catkin_LIBRARIES}
+ ${Boost_LIBRARIES}
)

find_package(PkgConfig REQUIRED)
pkg_check_modules(YAMLCPP yaml-cpp QUIET)
add_executable(map_server-map_saver src/map_saver.cpp)
@@ -70,6 +71,7 @@ add_dependencies(map_server-map_saver ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catk
set_target_properties(map_server-map_saver PROPERTIES OUTPUT_NAME map_saver)
target_link_libraries(map_server-map_saver
${catkin_LIBRARIES}
+ ${Boost_LIBRARIES}
)

# copy test data to same place as tests are run

0 comments on commit bb446de

Please sign in to comment.