vcpkg/ports/cairo/fix-static-missing-lib-msim...

16 строки
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 */