Bugfix: Fix OpenCV dependencies.

This commit is contained in:
2017-10-07 20:11:36 +02:00
parent ba945d62e7
commit ff94a1d3da

View File

@@ -18,7 +18,7 @@ find_package(Boost REQUIRED COMPONENTS system)
add_executable(fmri ${fmri_SRC}) add_executable(fmri ${fmri_SRC})
# Add libraries to link # Add libraries to link
target_link_libraries(fmri ${OpenCV_libs}) target_link_libraries(fmri ${OpenCV_LIBS})
target_link_libraries(fmri ${Boost_LIBRARIES}) target_link_libraries(fmri ${Boost_LIBRARIES})
# These do not have CMake support, so link manually # These do not have CMake support, so link manually
target_link_libraries(fmri caffe glog) target_link_libraries(fmri caffe glog)