Merge pull request #1179 from ignatenkobrain/freetype_fix

ft: correctly include FreeType
This commit is contained in:
oy 2014-02-09 17:01:41 +01:00
commit caf21b5f6b

View file

@ -23,14 +23,11 @@ FreeType = {
end
local apply = function(option, settings)
-- include path
settings.cc.includes:Add(FreeType.basepath .. "/include")
if option.use_ftconfig == true then
settings.cc.flags:Add("`freetype-config --cflags`")
settings.link.flags:Add("`freetype-config --libs`")
elseif option.use_winlib > 0 then
settings.cc.includes:Add(FreeType.basepath .. "/include")
if option.use_winlib == 32 then
settings.link.libpath:Add(FreeType.basepath .. "/lib32")
else