Skip to content

Commit 1ce1522

Browse files
committed
Merge pull request #75 from StevenPuttemans/fix_build_includes
fixing build with extra modules
2 parents e4cfe59 + e7d9d11 commit 1ce1522

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

modules/xfeatures2d/perf/perf_precomp.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
#include "opencv2/opencv_modules.hpp"
1919

2020
#ifdef HAVE_OPENCV_OCL
21-
# include "opencv2/nonfree/ocl.hpp"
21+
# include "opencv2/ocl.hpp"
2222
#endif
2323

2424
#ifdef HAVE_CUDA
25-
# include "opencv2/nonfree/cuda.hpp"
25+
# include "opencv2/xfeatures2d/cuda.hpp"
2626
#endif
2727

2828
#ifdef GTEST_CREATE_SHARED_LIBRARY

modules/xfeatures2d/test/test_precomp.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
#include "cvconfig.h"
2323

2424
#ifdef HAVE_OPENCV_OCL
25-
# include "opencv2/nonfree/ocl.hpp"
25+
# include "opencv2/ocl.hpp"
2626
#endif
2727

2828
#ifdef HAVE_CUDA
29-
# include "opencv2/nonfree/cuda.hpp"
29+
# include "opencv2/xfeatures2d/cuda.hpp"
3030
#endif
3131

3232
#endif

0 commit comments

Comments
 (0)