File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ find_package(rclcpp REQUIRED)
1010find_package (sensor_msgs REQUIRED)
1111
1212find_package (OpenCV REQUIRED)
13- find_package (Boost REQUIRED COMPONENTS thread )
13+ find_package (Boost REQUIRED COMPONENTS system )
1414
1515find_package (PkgConfig REQUIRED)
1616pkg_check_modules(avcodec libavcodec REQUIRED)
@@ -36,7 +36,6 @@ endif()
3636
3737## Specify additional locations of header files
3838include_directories (include
39- ${Boost_INCLUDE_DIRS}
4039 ${avcodec_INCLUDE_DIRS}
4140 ${avformat_INCLUDE_DIRS}
4241 ${avutil_INCLUDE_DIRS}
@@ -68,7 +67,8 @@ target_link_libraries(${PROJECT_NAME}
6867 cv_bridge::cv_bridge
6968 image_transport::image_transport
7069 rclcpp::rclcpp
71- ${Boost_LIBRARIES}
70+ Boost::boost
71+ Boost::system
7272 ${OpenCV_LIBS}
7373 ${avcodec_LIBRARIES}
7474 ${avformat_LIBRARIES}
You can’t perform that action at this time.
0 commit comments