mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 19:50:38 +08:00
Fixed compilation problem when building without CUDA
This commit is contained in:
parent
7f260a0f0b
commit
ec90265a08
@ -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…
Reference in New Issue
Block a user