mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 14:13:15 +08:00
After commit c7bbd1a
, 'include_directories()' is needed in the CMakeLists.txt (user side). This commit updates the documentation.
This commit is contained in:
parent
447e03bc28
commit
169ebae8c0
@ -58,6 +58,7 @@ Now you have to create your CMakeLists.txt file. It should look like this:
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
project( DisplayImage )
|
||||
find_package( OpenCV REQUIRED )
|
||||
include_directories( ${OpenCV_INCLUDE_DIRS} )
|
||||
add_executable( DisplayImage DisplayImage.cpp )
|
||||
target_link_libraries( DisplayImage ${OpenCV_LIBS} )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user