Commit ec90265a authored by Andrey Kamaev's avatar Andrey Kamaev

Fixed compilation problem when building without CUDA

parent 7f260a0f
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
#include "test_precomp.hpp" #include "test_precomp.hpp"
#ifdef HAVE_CUDA #ifdef HAVE_CUDA
#include <cuda_runtime_api.h>
void print_info() void print_info()
{ {
......
...@@ -50,7 +50,6 @@ ...@@ -50,7 +50,6 @@
#include <string> #include <string>
#include <algorithm> #include <algorithm>
#include <iterator> #include <iterator>
#include <cuda_runtime_api.h>
#include "cvconfig.h" #include "cvconfig.h"
#include "opencv2/core/core.hpp" #include "opencv2/core/core.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui/highgui.hpp"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment