-
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create ros-noetic-pluginlib-tutorials.patch
- Loading branch information
1 parent
b90b1a5
commit 5a436dc
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git a/pluginlib_tutorials/CMakeLists.txt b/pluginlib_tutorials/CMakeLists.txt | ||
index 6a9b5ec..370d6d9 100644 | ||
--- a/pluginlib_tutorials/CMakeLists.txt | ||
+++ b/pluginlib_tutorials/CMakeLists.txt | ||
@@ -3,6 +3,7 @@ project(pluginlib_tutorials) | ||
|
||
## Find catkin dependencies | ||
find_package(catkin REQUIRED COMPONENTS pluginlib roscpp) | ||
+find_package(console_bridge) | ||
|
||
## Find Boost (headers only) | ||
find_package(Boost REQUIRED) | ||
@@ -19,11 +20,11 @@ include_directories(include ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS}) | ||
|
||
## pluginlib_tutorials library | ||
add_library(pluginlib_tutorials src/polygon_plugins.cpp) | ||
-target_link_libraries(pluginlib_tutorials ${catkin_LIBRARIES}) | ||
+target_link_libraries(pluginlib_tutorials ${catkin_LIBRARIES} console_bridge::console_bridge) | ||
|
||
## polygon_loader executable | ||
add_executable(polygon_loader src/polygon_loader.cpp) | ||
-target_link_libraries(polygon_loader ${catkin_LIBRARIES}) | ||
+target_link_libraries(polygon_loader ${catkin_LIBRARIES} console_bridge::console_bridge) | ||
|
||
## Mark executables and/or libraries for installation | ||
install(TARGETS pluginlib_tutorials polygon_loader |