From eded65bbcabd8e2267ef3a1d7df467ab403b27e0 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 29 Jul 2021 15:55:09 +0200 Subject: to rebase --- video-opencv/impl-camera.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'video-opencv') 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 -- cgit v1.2.3