summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Caulier <[email protected]>2014-11-20 22:52:50 +0100
committerGilles Caulier <[email protected]>2014-11-20 22:52:50 +0100
commit11067b94d6569822e3957df3f2d42ef47d3708c0 (patch)
tree876f61e19fcd001e87cc35bb77dc0e41eb4842ce
parentc29cd01ddcef63240133cf8206dcc99fc6de4827 (diff)
polish
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/recognitiondatabase.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 76755dd..0784b13 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -80,7 +80,7 @@ find_package(KF5 ${KF5_VERSION} REQUIRED COMPONENTS
# OpenCV detection
include(MacroOpenCV)
-DETECT_OPENCV(2.4.9 core highgui objdetect contrib legacy imgproc)
+DETECT_OPENCV(${OPENCV_MIN_VERSION} core highgui objdetect contrib legacy imgproc)
include_directories(${OpenCV_INCLUDE_DIRS})
if(OpenCV_FOUND)
diff --git a/src/recognitiondatabase.cpp b/src/recognitiondatabase.cpp
index c705431..57aadf8 100644
--- a/src/recognitiondatabase.cpp
+++ b/src/recognitiondatabase.cpp
@@ -30,7 +30,7 @@
// OpenCV includes need to show up before Qt includes
#include "opencvlbphfacerecognizer.h"
#include "funnelreal.h"
-#include "libkface_debug.h"
+
// Qt includes
#include <QMutex>
@@ -45,6 +45,7 @@
// Local includes
+#include "libkface_debug.h"
#include "recognitiondatabase.h"
#include "databaseaccess.h"
#include "databaseoperationgroup.h"