projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1fba06
)
Fix xfeatures2d dependencies
author
Maksim Shabunin
<maksim.shabunin@itseez.com>
Fri, 19 Sep 2014 12:41:33 +0000
(16:41 +0400)
committer
Maksim Shabunin
<maksim.shabunin@itseez.com>
Fri, 19 Sep 2014 12:41:33 +0000
(16:41 +0400)
samples/cpp/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/samples/cpp/CMakeLists.txt
b/samples/cpp/CMakeLists.txt
index
888ab35
..
4dfb65d
100644
(file)
--- a/
samples/cpp/CMakeLists.txt
+++ b/
samples/cpp/CMakeLists.txt
@@
-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()