From 169ebae8c02722b1a58930421c68a2945c4a1e65 Mon Sep 17 00:00:00 2001 From: Pablo Speciale Date: Thu, 3 Oct 2013 00:43:12 +0200 Subject: [PATCH] After commit c7bbd1a, 'include_directories()' is needed in the CMakeLists.txt (user side). This commit updates the documentation. --- doc/tutorials/introduction/linux_gcc_cmake/linux_gcc_cmake.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/tutorials/introduction/linux_gcc_cmake/linux_gcc_cmake.rst b/doc/tutorials/introduction/linux_gcc_cmake/linux_gcc_cmake.rst index f582d32..b1c96c4 100644 --- a/doc/tutorials/introduction/linux_gcc_cmake/linux_gcc_cmake.rst +++ b/doc/tutorials/introduction/linux_gcc_cmake/linux_gcc_cmake.rst @@ -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} ) -- 2.7.4