mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
Merge pull request #1179 from ignatenkobrain/freetype_fix
ft: correctly include FreeType
This commit is contained in:
commit
caf21b5f6b
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue