mirror of https://github.com/odrling/Aegisub
meson: don't build fontconfig file lister on windows
This commit is contained in:
parent
b8e2cf83fd
commit
b6c0f2d544
|
@ -33,12 +33,14 @@ conf.set('WITH_UPDATE_CHECKER', get_option('enable_update_checker'))
|
|||
deps = []
|
||||
deps_inc = []
|
||||
|
||||
conf.set('WITH_FONTCONFIG', '0')
|
||||
if host_machine.system() == 'darwin'
|
||||
add_languages('objc', 'objcpp')
|
||||
add_project_arguments('-DGL_SILENCE_DEPRECATION', language: 'cpp')
|
||||
# meson does not currently support objcpp_std
|
||||
add_project_arguments('-std=c++11', language: 'objcpp')
|
||||
elif host_machine.system() != 'windows'
|
||||
conf.set('WITH_FONTCONFIG', '1')
|
||||
deps += dependency('fontconfig')
|
||||
endif
|
||||
|
||||
|
|
|
@ -171,7 +171,7 @@ if host_machine.system() == 'darwin'
|
|||
'osx/retina_helper.mm',
|
||||
'osx/scintilla_ime.mm',
|
||||
]
|
||||
else
|
||||
elif conf.get('WITH_FONTCONFIG') == '1'
|
||||
aegisub_src += 'font_file_lister_fontconfig.cpp'
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue