mirror of
https://github.com/CopterExpress/clover.git
synced 2026-06-08 02:24:32 +00:00
aruco_pose: Use find_package instead of hardcoded opencv paths
This commit is contained in:
@@ -21,6 +21,8 @@ find_package(catkin REQUIRED COMPONENTS
|
||||
#aruco_msgs
|
||||
)
|
||||
|
||||
find_package(OpenCV 3 REQUIRED)
|
||||
|
||||
## System dependencies are found with CMake's conventions
|
||||
# find_package(Boost REQUIRED COMPONENTS system)
|
||||
|
||||
@@ -158,7 +160,7 @@ link_directories(/opt/ros/kinetic/lib)
|
||||
|
||||
target_link_libraries(${PROJECT_NAME}
|
||||
${catkin_LIBRARIES}
|
||||
"/opt/ros/kinetic/lib/libopencv_aruco3.so" # TODO: fix launch fails with .so loading
|
||||
${OpenCV_LIBRARIES}
|
||||
)
|
||||
|
||||
#############
|
||||
|
||||
Reference in New Issue
Block a user