blob: 31586cf75732b094a51f4d838b6ec024f2165054 [file] [log] [blame]
project(
'kcsbridge',
'cpp',
version: '0.1',
meson_version: '>=0.57.0',
default_options: [
'warning_level=3',
'cpp_std=c++20',
])
subdir('src')
systemd = dependency('systemd')
if systemd.found()
conf_data = configuration_data()
conf_data.set('BIN', get_option('prefix') / get_option('libexecdir') / kcsbridged.name())
configure_file(
input: 'phosphor-ipmi-kcs@.service.in',
output: 'phosphor-ipmi-kcs@.service',
configuration: conf_data,
install: true,
install_dir: systemd.get_variable(pkgconfig: 'systemdsystemunitdir'))
endif