|
|
@ -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. |
|
|
|
# |
|
|
|
# |
|
|
|