1 | initial version |
there is a sample cmake project here , that you could use.
and indeed, your CmakeLists.txt is missing the last line (the one, that adds the opencv libs !)
# Link your application with OpenCV libraries
target_link_libraries(nettest ${OpenCV_LIBS})