mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
meson.build: Don't apply iso-codes cflag on Windows
They are no longer applicable for Windows builds.
This commit is contained in:
parent
169172a9e0
commit
629dcd3dcf
10
meson.build
10
meson.build
@ -455,10 +455,12 @@ cdata.set('HAVE_TRACKER3', tracker3_dep.found())
|
||||
colord_dep = dependency('colord', version: '>= 0.1.9', required: get_option('colord'))
|
||||
cdata.set('HAVE_COLORD', colord_dep.found())
|
||||
|
||||
if iso_codes_dep.found()
|
||||
cdata.set_quoted('ISO_CODES_PREFIX', iso_codes_dep.get_variable(pkgconfig: 'prefix'))
|
||||
else
|
||||
cdata.set_quoted('ISO_CODES_PREFIX', '/usr')
|
||||
if not os_win32
|
||||
if iso_codes_dep.found()
|
||||
cdata.set_quoted('ISO_CODES_PREFIX', iso_codes_dep.get_variable(pkgconfig: 'prefix'))
|
||||
else
|
||||
cdata.set_quoted('ISO_CODES_PREFIX', '/usr')
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user