2 dependsOnLib("freetype")
3 dependsOnHeader("ft2build.h")
4 dependsOnHeader("freetype/config/ftheader.h")
6 if(list("cygwin", "mingw") contains(platform
),
7 dependsOnLib("opengl32")
10 if(platform
== "windows",
11 dependsOnSysLib("opengl32")
14 if(platform
== "darwin",
15 dependsOnFramework("OpenGL")
18 if(platform
== "linux",
22 if(list("darwin", "windows") contains(platform
) not
,
23 dependsOnHeader("GL/gl.h")
26 headerSearchPaths
foreach(headerSearchPath
, appendHeaderSearchPath(headerSearchPath
.. "/freetype2"))
28 debs
atPut("freetype", "libfreetype6-dev")
29 ebuilds
atPut("freetype", "freetype")
30 pkgs
atPut("freetype", "freetype")
31 rpms
atPut("freetype", "freetype-devel")