Skip to content

Commit

Permalink
fix(yabloc_pose_initializer): include opencv as system (#9375)
Browse files Browse the repository at this point in the history
Signed-off-by: veqcc <[email protected]>
  • Loading branch information
veqcc authored Nov 19, 2024
1 parent d1eb8be commit 245802e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion localization/yabloc/yabloc_pose_initializer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ament_auto_add_library(${PROJECT_NAME}
src/camera/semantic_segmentation.cpp
src/camera/camera_pose_initializer_core.cpp)
target_include_directories(${PROJECT_NAME} PUBLIC include)
target_include_directories(${PROJECT_NAME} SYSTEM PRIVATE ${EIGEN3_INCLUDE_DIRS} ${PCL_INCLUDE_DIRS})
target_include_directories(${PROJECT_NAME} SYSTEM PRIVATE ${EIGEN3_INCLUDE_DIRS} ${PCL_INCLUDE_DIRS} ${OpenCV_INCLUDE_DIRS})
target_link_libraries(${PROJECT_NAME} ${PCL_LIBRARIES} Sophus::Sophus)
ament_target_dependencies(${PROJECT_NAME} OpenCV)

Expand Down

0 comments on commit 245802e

Please sign in to comment.