From 06f07944c859bc9d3d064c966d63cd192de82417 Mon Sep 17 00:00:00 2001 From: Vladislav Vinogradov Date: Tue, 27 Aug 2013 13:34:43 +0400 Subject: [PATCH] removed dependecy from cudalegacy --- modules/cudaarithm/CMakeLists.txt | 2 +- modules/cudaarithm/src/precomp.hpp | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/modules/cudaarithm/CMakeLists.txt b/modules/cudaarithm/CMakeLists.txt index e676fa6..f44c283 100644 --- a/modules/cudaarithm/CMakeLists.txt +++ b/modules/cudaarithm/CMakeLists.txt @@ -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_add_module(cudaarithm opencv_core OPTIONAL opencv_cudev opencv_cudalegacy) +ocv_add_module(cudaarithm opencv_core OPTIONAL opencv_cudev) ocv_module_include_directories() ocv_glob_module_sources() diff --git a/modules/cudaarithm/src/precomp.hpp b/modules/cudaarithm/src/precomp.hpp index 38fce94..6a756e9 100644 --- a/modules/cudaarithm/src/precomp.hpp +++ b/modules/cudaarithm/src/precomp.hpp @@ -52,13 +52,6 @@ #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 # include #endif -- 2.7.4