Fixed compilation problem when building without CUDA

This commit is contained in:
Andrey Kamaev 2011-06-30 17:01:15 +00:00
parent 7f260a0f0b
commit ec90265a08
2 changed files with 1 additions and 1 deletions

View File

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

View File

@ -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"