-set(CMAKE_SOURCE_DIR ../)
+set(CMAKE_SOURCE_DIR ..)
set(LINT_COMMAND ${CMAKE_SOURCE_DIR}/scripts/cpp_lint.py)
set(SRC_FILE_EXTENSIONS h hpp hu c cpp cu cc)
set(EXCLUDE_FILE_EXTENSTIONS pb.h pb.cc)
set(LINT_DIRS include src/caffe examples tools python matlab)
+cmake_policy(SET CMP0009 NEW) # supress cmake warning
+
# find all files of interest
foreach(ext ${SRC_FILE_EXTENSIONS})
foreach(dir ${LINT_DIRS})
+#include <opencv2/highgui/highgui_c.h>
#include <stdint.h>
#include <algorithm>
// 'source' field specifies the window_file
// 'crop_size' indicates the desired warped size
-#if CV_VERSION_MAJOR == 3
-const int CV_LOAD_IMAGE_COLOR = cv::IMREAD_COLOR;
-#endif
-
namespace caffe {
template <typename Dtype>