xref: /openbmc/dbus-sensors/src/intel-cpu/meson.build (revision d7be555ee0d885418e9a862b16565a0474c68d14)
1src_inc = ['..']
2if not meson.get_compiler('cpp').has_header('linux/peci-ioctl.h')
3    src_inc += ['../../include']
4endif
5
6executable(
7    'intelcpusensor',
8    'IntelCPUSensorMain.cpp',
9    'IntelCPUSensor.cpp',
10    dependencies: [
11        default_deps,
12        gpiodcxx,
13        thresholds_dep,
14        utils_dep,
15        peci_dep,
16    ],
17    include_directories: src_inc,
18    install: true,
19)