George Liu | d7be555 | 2024-09-20 10:39:09 +0800 | [diff] [blame^] | 1 | src_inc = ['..'] |
2 | if not meson.get_compiler('cpp').has_header('linux/peci-ioctl.h') | ||||
3 | src_inc += ['../../include'] | ||||
4 | endif | ||||
5 | |||||
6 | executable( | ||||
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 | ) |