mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-04 21:08:10 +02:00
meson: only build cairo-boilerplate and cairo-missing helper libs if needed
Used by tests and the sphinx utility, which may or may not be built, and if they're not built we don't need to build those libs either.
This commit is contained in:
parent
974791b4ee
commit
51d50621be
2 changed files with 4 additions and 0 deletions
|
|
@ -40,4 +40,6 @@ libcairoboilerplate = static_library('cairoboilerplate', cairo_boilerplate_sourc
|
|||
include_directories: [incbase, incsrc],
|
||||
dependencies: deps,
|
||||
link_with: [libcairo],
|
||||
install: false,
|
||||
build_by_default: false,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -8,4 +8,6 @@ inccairomissing = include_directories('.')
|
|||
libcairomissing = static_library('cairo-missing', cairo_missing_sources,
|
||||
c_args: ['-DHAVE_CONFIG_H'],
|
||||
include_directories: [incbase, incsrc],
|
||||
install: false,
|
||||
build_by_default: false,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue