102-fix-cmake-include-examples.patch 304 B

1234567891011
  1. --- a/examples/CMakeLists.txt
  2. +++ b/examples/CMakeLists.txt
  3. @@ -2,7 +2,7 @@ option(EXAMPLES "Build example programs"
  4. if (EXAMPLES)
  5. # Includes
  6. - include( ${CMAKE_CURRENT_SOURCE_DIR}
  7. + include_directories( ${CMAKE_CURRENT_SOURCE_DIR}
  8. ${CMAKE_CURRENT_BINARY_DIR}
  9. )