From ef27ac37823f399234c80e5c9af9a5bcb3e51fee Mon Sep 17 00:00:00 2001 From: Roman Donchenko Date: Tue, 19 Nov 2013 19:00:56 +0400 Subject: [PATCH] In the example in OpenCVConfig.cmake.in, explicitly add the include paths. After #1801, the include directories are no longer added automatically, so we should show the user how to do that. --- cmake/templates/OpenCVConfig.cmake.in | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/templates/OpenCVConfig.cmake.in b/cmake/templates/OpenCVConfig.cmake.in index be7ecf8d08..83ee7562ab 100644 --- a/cmake/templates/OpenCVConfig.cmake.in +++ b/cmake/templates/OpenCVConfig.cmake.in @@ -7,6 +7,7 @@ # In your CMakeLists.txt, add these lines: # # find_package(OpenCV REQUIRED) +# include_directories(${OpenCV_INCLUDE_DIRS}) # target_link_libraries(MY_TARGET_NAME ${OpenCV_LIBS}) # # Or you can search for specific OpenCV modules: