From 0c3dfe56e4a231156b1ffbd40a1a7f451447b2b5 Mon Sep 17 00:00:00 2001 From: Matthew Hill Date: Sat, 14 Mar 2015 03:41:12 +0000 Subject: [PATCH] Fixed GPU compile flag --- src/openalpr/detection/detectorcuda.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/openalpr/detection/detectorcuda.h b/src/openalpr/detection/detectorcuda.h index 4eeefaa..aa639cb 100644 --- a/src/openalpr/detection/detectorcuda.h +++ b/src/openalpr/detection/detectorcuda.h @@ -25,6 +25,8 @@ #include #include +#ifdef COMPILE_GPU + #include "opencv2/objdetect/objdetect.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/core/core.hpp" @@ -35,7 +37,6 @@ #include "detectorcpu.h" -#ifdef COMPILE_GPU namespace alpr {