diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-07-29 15:55:09 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-07-29 15:55:09 +0200 |
commit | eded65bbcabd8e2267ef3a1d7df467ab403b27e0 (patch) | |
tree | e8352bd3fdaa3ae582880945938d6eef21ffc480 /video-opencv/impl-camera.cpp | |
parent | 2112db0a98a2cd14b25828a5bc84bddc423712bf (diff) |
to rebasefeature/qt6
Diffstat (limited to 'video-opencv/impl-camera.cpp')
-rw-r--r-- | video-opencv/impl-camera.cpp | 5 |
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 |