After commit c7bbd1a, 'include_directories()' is needed in the CMakeLists.txt (user...
authorPablo Speciale <pablo.speciale@gmail.com>
Wed, 2 Oct 2013 22:43:12 +0000 (00:43 +0200)
committerPablo Speciale <pablo.speciale@gmail.com>
Wed, 2 Oct 2013 22:43:12 +0000 (00:43 +0200)
doc/tutorials/introduction/linux_gcc_cmake/linux_gcc_cmake.rst

index f582d32..b1c96c4 100644 (file)
@@ -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} )