From e7d9d119ef013fd3888375b4f3081c911e19e865 Mon Sep 17 00:00:00 2001 From: StevenPuttemans Date: Fri, 22 Aug 2014 13:35:43 +0200 Subject: [PATCH] fixing build with extra modules --- modules/xfeatures2d/perf/perf_precomp.hpp | 4 ++-- modules/xfeatures2d/test/test_precomp.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/xfeatures2d/perf/perf_precomp.hpp b/modules/xfeatures2d/perf/perf_precomp.hpp index b25d23115..815cc5fea 100644 --- a/modules/xfeatures2d/perf/perf_precomp.hpp +++ b/modules/xfeatures2d/perf/perf_precomp.hpp @@ -18,11 +18,11 @@ #include "opencv2/opencv_modules.hpp" #ifdef HAVE_OPENCV_OCL -# include "opencv2/nonfree/ocl.hpp" +# include "opencv2/ocl.hpp" #endif #ifdef HAVE_CUDA -# include "opencv2/nonfree/cuda.hpp" +# include "opencv2/xfeatures2d/cuda.hpp" #endif #ifdef GTEST_CREATE_SHARED_LIBRARY diff --git a/modules/xfeatures2d/test/test_precomp.hpp b/modules/xfeatures2d/test/test_precomp.hpp index eea74cebe..ade4678c1 100644 --- a/modules/xfeatures2d/test/test_precomp.hpp +++ b/modules/xfeatures2d/test/test_precomp.hpp @@ -22,11 +22,11 @@ #include "cvconfig.h" #ifdef HAVE_OPENCV_OCL -# include "opencv2/nonfree/ocl.hpp" +# include "opencv2/ocl.hpp" #endif #ifdef HAVE_CUDA -# include "opencv2/nonfree/cuda.hpp" +# include "opencv2/xfeatures2d/cuda.hpp" #endif #endif