mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Fix using blueprint-compiler as a meson subproject
This commit is contained in:
parent
f18c8b7a2d
commit
d2c5b48b29
1 changed files with 3 additions and 1 deletions
|
@ -26,7 +26,9 @@ blueprint_compiler = configure_file(
|
|||
install_dir: get_option('bindir'),
|
||||
)
|
||||
|
||||
meson.override_find_program('blueprint-compiler', blueprint_compiler)
|
||||
# Don't use the output configure_file here--that file is in the build directory
|
||||
# and won't be able to find the python modules in the source directory.
|
||||
meson.override_find_program('blueprint-compiler', find_program('blueprint-compiler.py'))
|
||||
|
||||
if not meson.is_subproject()
|
||||
install_subdir('blueprintcompiler', install_dir: datadir / 'blueprint-compiler')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue