build: respect meson install-active-runtime option

This commit is contained in:
Christoph Haag 2020-07-13 14:15:13 +02:00
parent 605e4e2027
commit 6429496439

View file

@ -113,5 +113,7 @@ manifest_json = configure_file(
install_dir: manifest_path,
)
meson.add_install_script('install_active_runtime.sh', get_option('sysconfdir'),
join_paths(manifest_path, runtime_target + '.json'), xr_api_major.to_string())
if get_option('install-active-runtime')
meson.add_install_script('install_active_runtime.sh', get_option('sysconfdir'),
join_paths(manifest_path, runtime_target + '.json'), xr_api_major.to_string())
endif