removed dependecy from cudalegacy
This commit is contained in:
parent
7839dbd2c4
commit
06f07944c8
@ -6,7 +6,7 @@ set(the_description "CUDA-accelerated Operations on Matrices")
|
|||||||
|
|
||||||
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef -Wmissing-declarations)
|
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef -Wmissing-declarations)
|
||||||
|
|
||||||
ocv_add_module(cudaarithm opencv_core OPTIONAL opencv_cudev opencv_cudalegacy)
|
ocv_add_module(cudaarithm opencv_core OPTIONAL opencv_cudev)
|
||||||
|
|
||||||
ocv_module_include_directories()
|
ocv_module_include_directories()
|
||||||
ocv_glob_module_sources()
|
ocv_glob_module_sources()
|
||||||
|
@ -52,13 +52,6 @@
|
|||||||
|
|
||||||
#include "opencv2/core/private.cuda.hpp"
|
#include "opencv2/core/private.cuda.hpp"
|
||||||
|
|
||||||
#include "opencv2/opencv_modules.hpp"
|
|
||||||
|
|
||||||
#ifdef HAVE_OPENCV_CUDALEGACY
|
|
||||||
# include "opencv2/cudalegacy.hpp"
|
|
||||||
# include "opencv2/cudalegacy/private.hpp"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_CUBLAS
|
#ifdef HAVE_CUBLAS
|
||||||
# include <cublas.h>
|
# include <cublas.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user