vcpkg/ports/cairo/cairo-features.h.in
Adam Johnson 323a0a387a
[cairo] Make freetype and fontconfig optional. (#15965)
* [cairo] Make fontconfig optional.

* [cairo] Update port versions
2021-02-03 12:56:00 -08:00

39 lines
910 B
C

#ifndef CAIRO_FEATURES_H
#define CAIRO_FEATURES_H
/* Chosen from the various possible defines in "../build/Makefile.win32.features.h""
guided by "../build/Makefile.win32.features". Modify at your own risk.
*/
/* Always for Win32 */
#ifdef _WIN32
#define CAIRO_HAS_WIN32_SURFACE 1
#define CAIRO_HAS_WIN32_FONT 1
#endif
/* Require libpng */
#define CAIRO_HAS_PNG_FUNCTIONS 1
#define CAIRO_HAS_PS_SURFACE 1
#define CAIRO_HAS_PDF_SURFACE 1
// Likely available
#define CAIRO_HAS_SCRIPT_SURFACE 1
#define CAIRO_HAS_SVG_SURFACE 1
/* Always available */
#define CAIRO_HAS_IMAGE_SURFACE 1
#define CAIRO_HAS_MIME_SURFACE 1
#define CAIRO_HAS_RECORDING_SURFACE 1
#define CAIRO_HAS_OBSERVER_SURFACE 1
#define CAIRO_HAS_USER_FONT 1
/* Require GObject */
#define CAIRO_HAS_GOBJECT_FUNCTIONS 1
/* Require FreeType */
#cmakedefine01 CAIRO_HAS_FT_FONT
/* Require FontConfig */
#cmakedefine01 CAIRO_HAS_FC_FONT
#endif