vcpkg/ports/cairo/msvc-convenience.diff
2024-10-24 22:25:44 -07:00

16 lines
361 B
Diff

diff --git a/src/win32/cairo-win32-private.h b/src/win32/cairo-win32-private.h
index d457b78..0b1b4ed 100644
--- a/src/win32/cairo-win32-private.h
+++ b/src/win32/cairo-win32-private.h
@@ -53,6 +53,10 @@
#define WIN32_FONT_LOGICAL_SCALE 32
+#ifdef _MSC_VER
+#pragma comment(lib, "MSImg32.Lib")
+#endif
+
CAIRO_BEGIN_DECLS
/* Surface DC flag values */