Require proper opencv version.

This commit is contained in:
2018-04-11 14:03:22 +02:00
parent 170c5658a5
commit 2bd84abe94

View File

@@ -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