Commit b80142be authored by Maksim Shabunin's avatar Maksim Shabunin

Fix an issue in cmake tutorial

parent bb0631a3
...@@ -53,9 +53,9 @@ Now you have to create your CMakeLists.txt file. It should look like this: ...@@ -53,9 +53,9 @@ Now you have to create your CMakeLists.txt file. It should look like this:
cmake_minimum_required(VERSION 2.8) cmake_minimum_required(VERSION 2.8)
project( DisplayImage ) project( DisplayImage )
find_package( OpenCV REQUIRED ) find_package( OpenCV REQUIRED )
include_directories( \f${OpenCV_INCLUDE_DIRS} ) include_directories( ${OpenCV_INCLUDE_DIRS} )
add_executable( DisplayImage DisplayImage.cpp ) add_executable( DisplayImage DisplayImage.cpp )
target_link_libraries( DisplayImage \f${OpenCV_LIBS} ) target_link_libraries( DisplayImage ${OpenCV_LIBS} )
@endcode @endcode
### Generate the executable ### Generate the executable
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment