-
-
Notifications
You must be signed in to change notification settings - Fork 74
/
Copy pathros-noetic-socketcan-bridge.patch
56 lines (51 loc) · 1.21 KB
/
ros-noetic-socketcan-bridge.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 19961417..cf82e480 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,7 +13,10 @@ find_package(catkin REQUIRED
roscpp
socketcan_interface
)
-
+find_package(Boost REQUIRED
+ COMPONENTS
+ filesystem thread
+)
catkin_package(
INCLUDE_DIRS
include
@@ -63,6 +66,7 @@ add_executable(socketcan_to_topic_node
)
target_link_libraries(socketcan_to_topic_node
socketcan_to_topic
+ ${Boost_LIBRARIES}
${catkin_LIBRARIES}
)
@@ -73,6 +77,7 @@ add_executable(topic_to_socketcan_node
)
target_link_libraries(topic_to_socketcan_node
topic_to_socketcan
+ ${Boost_LIBRARIES}
${catkin_LIBRARIES}
)
@@ -83,6 +88,7 @@ add_executable(${PROJECT_NAME}_node
target_link_libraries(${PROJECT_NAME}_node
topic_to_socketcan
socketcan_to_topic
+ ${Boost_LIBRARIES}
${catkin_LIBRARIES}
)
@@ -128,6 +134,7 @@ if(CATKIN_ENABLE_TESTING)
)
target_link_libraries(test_to_socketcan
topic_to_socketcan
+ ${Boost_LIBRARIES}
${catkin_LIBRARIES}
)
@@ -138,6 +145,7 @@ if(CATKIN_ENABLE_TESTING)
target_link_libraries(test_to_topic
socketcan_to_topic
topic_to_socketcan
+ ${Boost_LIBRARIES}
${catkin_LIBRARIES}
)