From 2bd84abe94f1fd7273febbf2b54d036f4ab9629e Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Wed, 11 Apr 2018 14:03:22 +0200 Subject: [PATCH] Require proper opencv version. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3d674ca..3d7211d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,7 +23,7 @@ find_package(Caffe REQUIRED) find_package(OpenGL REQUIRED) find_package(GLUT REQUIRED) find_package(Boost REQUIRED COMPONENTS filesystem program_options) -find_package(OpenCV REQUIRED COMPONENTS core imgproc imgcodecs) +find_package(OpenCV 3 REQUIRED COMPONENTS core imgproc imgcodecs) target_link_libraries(fmri PUBLIC Caffe::Caffe