Properly search for OpenCV.
This commit is contained in:
@@ -24,6 +24,7 @@ find_package(OpenGL REQUIRED)
|
||||
find_package(GLUT REQUIRED)
|
||||
find_package(png++ REQUIRED)
|
||||
find_package(Boost REQUIRED COMPONENTS filesystem program_options)
|
||||
find_package(OpenCV REQUIRED COMPONENTS core imgproc imgcodecs)
|
||||
|
||||
target_link_libraries(fmri PUBLIC
|
||||
Caffe::Caffe
|
||||
@@ -31,6 +32,9 @@ target_link_libraries(fmri PUBLIC
|
||||
OpenGL::GLU
|
||||
png++::png++
|
||||
Boost::program_options
|
||||
opencv_core
|
||||
opencv_imgproc
|
||||
opencv_imgcodecs
|
||||
)
|
||||
|
||||
target_include_directories(fmri PUBLIC
|
||||
|
||||
Reference in New Issue
Block a user