summaryrefslogtreecommitdiff
path: root/Makefile.config.example
diff options
context:
space:
mode:
authorAndreas Løve Selvik <andreas.l.selvik@gmail.com>2015-10-13 16:32:52 +0200
committerAndreas Løve Selvik <andreas.l.selvik@gmail.com>2015-10-22 22:24:29 +0200
commit3e5f49435f95de57bffbde53d745dcb4a8f1f870 (patch)
tree566aeea532067a81cbb517fa85edc2fcef1dc250 /Makefile.config.example
parent0151742509c23b927b0159230ac70399ac4f8967 (diff)
downloadcaffeonacl-3e5f49435f95de57bffbde53d745dcb4a8f1f870.tar.gz
caffeonacl-3e5f49435f95de57bffbde53d745dcb4a8f1f870.tar.bz2
caffeonacl-3e5f49435f95de57bffbde53d745dcb4a8f1f870.zip
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)
Diffstat (limited to 'Makefile.config.example')
-rw-r--r--Makefile.config.example3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.config.example b/Makefile.config.example
index a20bad2f..8e2c4fb4 100644
--- a/Makefile.config.example
+++ b/Makefile.config.example
@@ -12,6 +12,9 @@
# USE_LMDB := 0
# USE_OPENCV := 0
+# Uncomment if you're using OpenCV 3
+# OPENCV_VERSION := 3
+
# To customize your choice of compiler, uncomment and set the following.
# N.B. the default for Linux is g++ and the default for OSX is clang++
# CUSTOM_CXX := g++