Fix an issue in cmake tutorial

pull/3934/head
Maksim Shabunin 10 years ago
parent bb0631a365
commit b80142be69
  1. 4
      doc/tutorials/introduction/linux_gcc_cmake/linux_gcc_cmake.markdown

@ -53,9 +53,9 @@ 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( \f${OpenCV_INCLUDE_DIRS} )
include_directories( ${OpenCV_INCLUDE_DIRS} )
add_executable( DisplayImage DisplayImage.cpp )
target_link_libraries( DisplayImage \f${OpenCV_LIBS} )
target_link_libraries( DisplayImage ${OpenCV_LIBS} )
@endcode
### Generate the executable

Loading…
Cancel
Save