1if cpp.has_header('CLI/CLI.hpp')
2    CLI11_dep = declare_dependency()
3else
4    CLI11_dep = dependency(
5        'CLI11',
6        fallback: [ 'CLI11', 'CLI11_dep' ],
7    )
8endif
9
10source = [
11    'usb_manager_main.cpp',
12    ]
13
14executable(
15    'phosphor-usb-code-update',
16    source,
17    dependencies: [
18        CLI11_dep,
19    ],
20    install: true,
21    install_dir: get_option('bindir')
22)
23