mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
meson: don't build fontconfig file lister on windows
This commit is contained in:
parent
46121094a1
commit
1237989bd2
@ -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…
x
Reference in New Issue
Block a user