Skip to content

Commit

Permalink
Merge pull request opencv#3239 from mshabunin:xfeatures2d_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vpisarev committed Sep 22, 2014
2 parents 892999c + 5e3e438 commit 4889201
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions samples/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ if(BUILD_EXAMPLES AND OCV_DEPENDENCIES_FOUND)
ocv_include_directories("${OpenCV_SOURCE_DIR}/modules/cudafilters/include")
endif()

if (HAVE_opencv_xfeatures2d)
ocv_include_directories("${OPENCV_MODULE_opencv_xfeatures2d_LOCATION}/include")
endif()

if(HAVE_opencv_ocl)
ocv_include_directories("${OpenCV_SOURCE_DIR}/modules/ocl/include")
endif()
Expand Down

0 comments on commit 4889201

Please sign in to comment.