mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
Merge pull request #1830 from SpecLad:config-includes
This commit is contained in:
commit
63b3db53d7
@ -6,12 +6,13 @@
|
||||
# Usage from an external project:
|
||||
# In your CMakeLists.txt, add these lines:
|
||||
#
|
||||
# FIND_PACKAGE(OpenCV REQUIRED)
|
||||
# TARGET_LINK_LIBRARIES(MY_TARGET_NAME ${OpenCV_LIBS})
|
||||
# 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:
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user