Patrick Williams | 0bb89f8 | 2021-04-16 16:30:04 -0500 | [diff] [blame] | 1 | # Generated file; do not modify. |
2 | sdbuspp_gen_meson_ver = run_command( | ||||
3 | sdbuspp_gen_meson_prog, | ||||
4 | '--version', | ||||
5 | ).stdout().strip().split('\n')[0] | ||||
6 | |||||
7 | if sdbuspp_gen_meson_ver != 'sdbus++-gen-meson version 2' | ||||
8 | warning('Generated meson files from wrong version of sdbus++-gen-meson.') | ||||
9 | warning( | ||||
10 | 'Expected "sdbus++-gen-meson version 2", got:', | ||||
11 | sdbuspp_gen_meson_ver | ||||
12 | ) | ||||
13 | endif | ||||
14 |