summaryrefslogtreecommitdiffhomepage
path: root/windows/nsis-plugins/src/cleanup/cleanup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'windows/nsis-plugins/src/cleanup/cleanup.cpp')
-rw-r--r--windows/nsis-plugins/src/cleanup/cleanup.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/windows/nsis-plugins/src/cleanup/cleanup.cpp b/windows/nsis-plugins/src/cleanup/cleanup.cpp
index ca943934a7..b52c269577 100644
--- a/windows/nsis-plugins/src/cleanup/cleanup.cpp
+++ b/windows/nsis-plugins/src/cleanup/cleanup.cpp
@@ -7,6 +7,9 @@
#include <functional>
#include <vector>
+// NOTE: Linker refuses to find the library unless specified here
+#pragma comment(lib, "version.lib")
+
void __declspec(dllexport) NSISCALL RemoveLogsAndCache
(
HWND hwndParent,