Fixed compilation problem when building without CUDA

pull/13383/head
Andrey Kamaev 14 years ago
parent 7f260a0f0b
commit ec90265a08
  1. 1
      modules/gpu/test/test_main.cpp
  2. 1
      modules/gpu/test/test_precomp.hpp

@ -42,6 +42,7 @@
#include "test_precomp.hpp"
#ifdef HAVE_CUDA
#include <cuda_runtime_api.h>
void print_info()
{

@ -50,7 +50,6 @@
#include <string>
#include <algorithm>
#include <iterator>
#include <cuda_runtime_api.h>
#include "cvconfig.h"
#include "opencv2/core/core.hpp"
#include "opencv2/highgui/highgui.hpp"

Loading…
Cancel
Save