Update cmake/templates/OpenCVConfig.cmake.in
authorVincent Rabaud <vrabaud@willowgarage.com>
Wed, 27 Feb 2013 19:00:38 +0000 (11:00 -0800)
committerVincent Rabaud <vrabaud@willowgarage.com>
Wed, 27 Feb 2013 19:00:38 +0000 (11:00 -0800)
find_package(OpenCV) should not include_directories by default, that is not standard afaik. Plus that creates problems when creating the ROS package :)

cmake/templates/OpenCVConfig.cmake.in

index d31e1b6..c69088b 100644 (file)
@@ -81,7 +81,6 @@ set(OpenCV_HAVE_ANDROID_CAMERA @HAVE_opencv_androidcamera@)
 
 # Provide the include directories to the caller
 set(OpenCV_INCLUDE_DIRS @OpenCV_INCLUDE_DIRS_CONFIGCMAKE@)
-include_directories(${OpenCV_INCLUDE_DIRS})
 
 # ======================================================
 # Link directories to add to the user project: