mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 13:47:32 +08:00
samples: gpu: performance: fix include path for opencv_xfeatures2d
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
This commit is contained in:
parent
653bca8b74
commit
fbf28bcc63
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user