vcpkg locates ft2build.h in the root of /include and not the freetype2 subfolder
This commit is contained in:
parent
27c967421c
commit
5621e49b21
|
@ -28,7 +28,11 @@
|
||||||
#define OUTLINE_DECOMPOSER_H
|
#define OUTLINE_DECOMPOSER_H
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#include <ft2build.h>
|
||||||
|
#else
|
||||||
#include <freetype2/ft2build.h>
|
#include <freetype2/ft2build.h>
|
||||||
|
#endif
|
||||||
#include FT_FREETYPE_H
|
#include FT_FREETYPE_H
|
||||||
#include FT_OUTLINE_H
|
#include FT_OUTLINE_H
|
||||||
#include <math/box2.h>
|
#include <math/box2.h>
|
||||||
|
|
|
@ -29,7 +29,11 @@
|
||||||
|
|
||||||
#include <gal/graphics_abstraction_layer.h>
|
#include <gal/graphics_abstraction_layer.h>
|
||||||
#include <geometry/shape_poly_set.h>
|
#include <geometry/shape_poly_set.h>
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#include <ft2build.h>
|
||||||
|
#else
|
||||||
#include <freetype2/ft2build.h>
|
#include <freetype2/ft2build.h>
|
||||||
|
#endif
|
||||||
#include FT_FREETYPE_H
|
#include FT_FREETYPE_H
|
||||||
#include FT_OUTLINE_H
|
#include FT_OUTLINE_H
|
||||||
//#include <gal/opengl/opengl_freetype.h>
|
//#include <gal/opengl/opengl_freetype.h>
|
||||||
|
|
Loading…
Reference in New Issue