Commits

Leszek committed 3f8faa1

Fix include paths/cmake include directories for cmd demo

Comments (0)

Files changed (5)

cmd/CMakeLists.txt

     ${Boost_INCLUDE_DIRS}
     ${OpenCV_INCLUDE_DIRS}
     ${TBB_INCLUDE_DIRS}
+    ${pupiltracker_SOURCE_DIR}/lib
 )
 link_directories(
     ${OpenCV_LIB_DIR}

cmd/PupilTrackerCmd.cpp

 
 #include <opencv2/highgui/highgui.hpp>
 
-#include "../lib/PupilTracker.h"
-#include "../lib/cvx.h"
+#include <pupiltracker/PupilTracker.h>
+#include <pupiltracker/cvx.h>
 
 void imshowscale(const std::string& name, cv::Mat& m, double scale)
 {

lib/PupilTracker.cpp

 
 #include <tbb/tbb.h>
 
-#include "pupiltracker/cvx.h"
+#include <pupiltracker/cvx.h>
 
 namespace 
 {
-#include "pupiltracker/cvx.h"
+#include <pupiltracker/cvx.h>
 
 
 void pupiltracker::cvx::getROI(const cv::Mat& src, cv::Mat& dst, const cv::Rect& roi, int borderType)
-#include "pupiltracker/utils.h"
+#include <pupiltracker/utils.h>
 
 #include <random>