Add opencv_imgcodecs to library path in Makefile
authorAndreas Løve Selvik <andreas.l.selvik@gmail.com>
Tue, 13 Oct 2015 14:32:52 +0000 (16:32 +0200)
committerAndreas Løve Selvik <andreas.l.selvik@gmail.com>
Thu, 22 Oct 2015 20:24:29 +0000 (22:24 +0200)
commit3e5f49435f95de57bffbde53d745dcb4a8f1f870
tree566aeea532067a81cbb517fa85edc2fcef1dc250
parent0151742509c23b927b0159230ac70399ac4f8967
Add opencv_imgcodecs to library path in Makefile

Project does not compile without opencv_imgcodecs in the library path if
you're using OpenCV 3.

This introduces a OPENCV_VERSION flag in Makefile.config that includes
the library if set to 3.  (Trying to include it with OpenCV 2 also
breaks the build)
Makefile
Makefile.config.example