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.
This commit is contained in:
Roman Donchenko 2013-11-19 19:00:56 +04:00
parent 7f935717cb
commit ef27ac3782

View File

@ -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: