Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROS 2: Fixed CMake (#899) #901

Merged
merged 1 commit into from Jan 19, 2024
Merged

ROS 2: Fixed CMake (#899) #901

merged 1 commit into from Jan 19, 2024

Conversation

ahcorde
Copy link
Contributor

@ahcorde ahcorde commented Jan 19, 2024

backport #899

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
@ahcorde ahcorde self-assigned this Jan 19, 2024
ament_auto_find_build_dependencies()

find_package(OpenCV REQUIRED COMPONENTS core imgcodecs videoio)
message(STATUS "opencv version ${OpenCV_VERSION}")

ament_auto_add_library(image_publisher SHARED src/image_publisher.cpp)
target_link_libraries(image_publisher ${OpenCV_LIBRARIES})
target_link_libraries(image_publisher ${OpenCV_LIBRARIES} camera_info_manager::camera_info_manager)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are we sure this is supported all the way back in humble?

@mikeferguson mikeferguson merged commit c8965ec into humble Jan 19, 2024
3 checks passed
@mikeferguson mikeferguson deleted the ahcorde/humble/899 branch January 19, 2024 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants