disabled utility code in gpu tests when WITH_CUDA=false

This commit is contained in:
Vladislav Vinogradov
2012-09-13 12:17:35 +04:00
parent fd77ef7ece
commit 35b671efb5
5 changed files with 21 additions and 27 deletions

View File

@@ -41,6 +41,8 @@
#include "test_precomp.hpp"
#ifdef HAVE_CUDA
using namespace std;
using namespace cv;
using namespace cv::gpu;
@@ -418,3 +420,5 @@ void showDiff(InputArray gold_, InputArray actual_, double eps)
waitKey();
}
#endif // HAVE_CUDA