Skip to content

Commit c7bbd1a

Browse files
committed
Update cmake/templates/OpenCVConfig.cmake.in
find_package(OpenCV) should not include_directories by default, that is not standard afaik. Plus that creates problems when creating the ROS package :)
1 parent d620ef0 commit c7bbd1a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cmake/templates/OpenCVConfig.cmake.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ set(OpenCV_HAVE_ANDROID_CAMERA @HAVE_opencv_androidcamera@)
8181

8282
# Provide the include directories to the caller
8383
set(OpenCV_INCLUDE_DIRS @OpenCV_INCLUDE_DIRS_CONFIGCMAKE@)
84-
include_directories(${OpenCV_INCLUDE_DIRS})
8584

8685
# ======================================================
8786
# Link directories to add to the user project:

0 commit comments

Comments
 (0)