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