summaryrefslogtreecommitdiffhomepage
path: root/video-opencv/impl-camera.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'video-opencv/impl-camera.cpp')
-rw-r--r--video-opencv/impl-camera.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/video-opencv/impl-camera.cpp b/video-opencv/impl-camera.cpp
index 3f2a1b1a..0dc98a58 100644
--- a/video-opencv/impl-camera.cpp
+++ b/video-opencv/impl-camera.cpp
@@ -97,3 +97,8 @@ bool cam::show_dialog()
}
} // ns opencv_camera_impl
+
+#ifdef _MSC_VER
+// workaround bug in cmake. newest MSVC doesn't create dot.lib with no exported symbols
+extern "C" __declspec(dllexport) int _empty(void) { return 0; }
+#endif \ No newline at end of file