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:
parent
7f935717cb
commit
ef27ac3782
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user