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