projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
653bca8
)
samples: gpu: performance: fix include path for opencv_xfeatures2d
author
Rok Mandeljc
<rok.mandeljc@gmail.com>
Fri, 29 Aug 2014 22:49:56 +0000
(
00:49
+0200)
committer
Rok Mandeljc
<rok.mandeljc@gmail.com>
Fri, 29 Aug 2014 23:01:08 +0000
(
01:01
+0200)
As opencv_xfeatures2d is part of opencv-contrib and not opencv repository,
${OpenCV_SOURCE_DIR}/modules/modules/include is not a correct include
path - use ${opencv_xfeatures2d_SOURCE_DIR}/include instead
samples/gpu/performance/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/samples/gpu/performance/CMakeLists.txt
b/samples/gpu/performance/CMakeLists.txt
index
0b25663
..
d283c76
100644
(file)
--- a/
samples/gpu/performance/CMakeLists.txt
+++ b/
samples/gpu/performance/CMakeLists.txt
@@
-4,7
+4,7
@@
file(GLOB sources "performance/*.cpp")
file(GLOB headers "performance/*.h")
if(HAVE_opencv_xfeatures2d)
- ocv_include_directories("${
OpenCV_SOURCE_DIR}/modules/xfeatures2d
/include")
+ ocv_include_directories("${
opencv_xfeatures2d_SOURCE_DIR}
/include")
endif()
add_executable(${the_target} ${sources} ${headers})