mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 13:30:19 +00:00
printing: Remove cairo header checks
cc.has_header doesn't work with subprojects, and all this check does is to make the build fail, so we can just... let the build fail instead.
This commit is contained in:
parent
d55f938f7c
commit
93d795e7c0
@ -1,18 +1,5 @@
|
||||
print_backends = []
|
||||
|
||||
if not cc.has_header('cairo-pdf.h', dependencies : cairo_dep)
|
||||
error('Cannot find cairo-pdf.h. You must build Cairo with the pdf backend enabled.')
|
||||
endif
|
||||
|
||||
if os_unix
|
||||
if not cc.has_header('cairo-ps.h', dependencies : cairo_dep)
|
||||
error('Cannot find cairo-ps.h. You must build Cairo with the postscript backend enabled.')
|
||||
endif
|
||||
if not cc.has_header('cairo-svg.h', dependencies : cairo_dep)
|
||||
error('Cannot find cairo-svg.h. You must build Cairo with the svg backend enabled.')
|
||||
endif
|
||||
endif
|
||||
|
||||
printbackends_subdir = 'gtk-4.0/@0@/printbackends'.format(gtk_binary_version)
|
||||
printbackends_install_dir = join_paths(get_option('libdir'), printbackends_subdir)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user