summaryrefslogtreecommitdiffhomepage
path: root/video-ps3eye/module.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'video-ps3eye/module.cpp')
-rw-r--r--video-ps3eye/module.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/video-ps3eye/module.cpp b/video-ps3eye/module.cpp
index a7078180..84c65b90 100644
--- a/video-ps3eye/module.cpp
+++ b/video-ps3eye/module.cpp
@@ -281,3 +281,8 @@ void settings::set_exposure()
++ptr.in.settings_updated;
std::atomic_thread_fence(std::memory_order_seq_cst);
}
+
+#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