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)