summaryrefslogtreecommitdiffhomepage
path: root/video-opencv/export.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-03-18 15:20:09 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-03-18 15:20:09 +0100
commit5023b54ba76325bb0b5598d59714bdad2d55d81e (patch)
tree15cc639eff7dbfa12eeccaa52d7fd251f18969e6 /video-opencv/export.hpp
parent3aababf6fd53a7b0312c2c1492bab6b43584b613 (diff)
video: add support for camera modules
Issue: #910
Diffstat (limited to 'video-opencv/export.hpp')
-rw-r--r--video-opencv/export.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/video-opencv/export.hpp b/video-opencv/export.hpp
new file mode 100644
index 00000000..1d43a9f1
--- /dev/null
+++ b/video-opencv/export.hpp
@@ -0,0 +1,11 @@
+// generates export.hpp for each module from compat/linkage.hpp
+
+#pragma once
+
+#include "compat/linkage-macros.hpp"
+
+#ifdef BUILD_VIDEO_OPENCV
+# define OTR_VIDEO_OPENCV_EXPORT OTR_GENERIC_EXPORT
+#else
+# define OTR_VIDEO_OPENCV_EXPORT OTR_GENERIC_IMPORT
+#endif