blob: f0ac2d0468919ba3281b5da4cc932c89bc6c4a26 [file] [log] [blame]
if cpp.has_header('CLI/CLI.hpp')
CLI11_dep = declare_dependency()
else
CLI11_dep = dependency(
'CLI11',
fallback: [ 'CLI11', 'CLI11_dep' ],
)
endif
source = [
'usb_manager_main.cpp',
]
executable(
'phosphor-usb-code-update',
source,
dependencies: [
CLI11_dep,
],
install: true,
install_dir: get_option('bindir')
)