Commit ee3101ba authored by Anatoly Baksheev's avatar Anatoly Baksheev

removed cv_config

parent 07a4e520
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#pragma warning(disable : 4100) #pragma warning(disable : 4100)
#endif #endif
#include "cvconfig.h"
#include <iostream> #include <iostream>
#include <iomanip> #include <iomanip>
#include "opencv2/contrib/contrib.hpp" #include "opencv2/contrib/contrib.hpp"
...@@ -16,14 +16,6 @@ using namespace std; ...@@ -16,14 +16,6 @@ using namespace std;
using namespace cv; using namespace cv;
using namespace cv::gpu; using namespace cv::gpu;
#if !defined(HAVE_CUDA)
int main(int argc, const char **argv)
{
cout << "Please compile the library with CUDA support" << endl;
return -1;
}
#else
void help() void help()
{ {
...@@ -105,7 +97,7 @@ void displayState(Mat &canvas, bool bHelp, bool bGpu, bool bLargestFace, bool bF ...@@ -105,7 +97,7 @@ void displayState(Mat &canvas, bool bHelp, bool bGpu, bool bLargestFace, bool bF
int main(int argc, const char *argv[]) int main(int argc, const char *argv[])
{ {
if (argc != 3) if (argc != 3)
{ {
return help(), -1; return help(), -1;
...@@ -277,6 +269,4 @@ int main(int argc, const char *argv[]) ...@@ -277,6 +269,4 @@ int main(int argc, const char *argv[])
} }
return 0; return 0;
} }
\ No newline at end of file
#endif //!defined(HAVE_CUDA)
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