diff --git a/CMakeLists.txt b/CMakeLists.txt
index dc83c57d6b51db9789afabb25f755820dcaac9d4..a9b838e71e670416c9314a3a951a2c9dc5ebf7b1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -23,6 +23,8 @@ find_package( MsgPack REQUIRED )
 find_package( LibSGM )
 #find_package( ZLIB REQUIRED )
 
+set(HAVE_OPENCV TRUE)
+
 # Readline library is not required on Windows
 # May also entirely remove dependence on this... it should be optional at least.
 if (NOT WIN32)
diff --git a/common/cpp/include/ftl/config.h.in b/common/cpp/include/ftl/config.h.in
index b03e4eeeff946c3e8c282500dd4717fa11fd3539..7c128412996648572adbbd5a6a1a625f98ba9fed 100644
--- a/common/cpp/include/ftl/config.h.in
+++ b/common/cpp/include/ftl/config.h.in
@@ -5,6 +5,7 @@
 #cmakedefine HAVE_OPENCVCUDA
 #cmakedefine HAVE_URIPARSESINGLE
 #cmakedefine HAVE_CUDA
+#cmakedefine HAVE_OPENCV
 
 extern const char *FTL_VERSION_LONG;
 extern const char *FTL_VERSION;