提交 88a883e6 编写于 作者: A Alexander Smorkalov

Build fix.

上级 8660e048
......@@ -25,6 +25,8 @@ using namespace std;
using namespace cv;
using namespace cv::gpu;
#define throw_nogpu CV_Error(CV_GpuNotSupported, "The library is compiled without CUDA support")
#include "gpumat_cuda.hpp"
#ifdef HAVE_CUDA
......
......@@ -48,8 +48,6 @@
#include "opencv2/core/core.hpp"
#include "opencv2/core/cuda_devptrs.hpp"
#define throw_nogpu CV_Error(CV_GpuNotSupported, "The library is compiled without CUDA support")
namespace cv { namespace gpu
{
//////////////////////////////// Initialization & Info ////////////////////////
......
......@@ -65,6 +65,8 @@ using namespace std;
using namespace cv;
using namespace cv::gpu;
#define throw_nogpu CV_Error(CV_GpuNotSupported, "The library is compiled without CUDA support")
#include "gpumat_cuda.hpp"
typedef GpuFuncTable* (*GpuFactoryType)();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册