Merge pull request #1830 from SpecLad:config-includes

pull/1828/merge
Roman Donchenko 12 years ago committed by OpenCV Buildbot
commit 63b3db53d7
  1. 7
      cmake/templates/OpenCVConfig.cmake.in

@ -6,12 +6,13 @@
# Usage from an external project: # Usage from an external project:
# In your CMakeLists.txt, add these lines: # In your CMakeLists.txt, add these lines:
# #
# FIND_PACKAGE(OpenCV REQUIRED) # find_package(OpenCV REQUIRED)
# TARGET_LINK_LIBRARIES(MY_TARGET_NAME ${OpenCV_LIBS}) # include_directories(${OpenCV_INCLUDE_DIRS})
# target_link_libraries(MY_TARGET_NAME ${OpenCV_LIBS})
# #
# Or you can search for specific OpenCV modules: # Or you can search for specific OpenCV modules:
# #
# FIND_PACKAGE(OpenCV REQUIRED core highgui) # find_package(OpenCV REQUIRED core highgui)
# #
# If the module is found then OPENCV_<MODULE>_FOUND is set to TRUE. # If the module is found then OPENCV_<MODULE>_FOUND is set to TRUE.
# #

Loading…
Cancel
Save