removed dependecy from cudalegacy
authorVladislav Vinogradov <vlad.vinogradov@itseez.com>
Tue, 27 Aug 2013 09:34:43 +0000 (13:34 +0400)
committerVladislav Vinogradov <vlad.vinogradov@itseez.com>
Tue, 1 Oct 2013 08:18:40 +0000 (12:18 +0400)
modules/cudaarithm/CMakeLists.txt
modules/cudaarithm/src/precomp.hpp

index e676fa6..f44c283 100644 (file)
@@ -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()
index 38fce94..6a756e9 100644 (file)
 
 #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 <cublas.h>
 #endif