build: make metrics libraries optional
[dpdk.git] / app / proc-info / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2018 Intel Corporation
3
4 if is_windows
5     build = false
6     reason = 'not supported on Windows'
7     subdir_done()
8 endif
9
10 sources = files('main.c')
11 deps += ['ethdev', 'security']
12 if dpdk_conf.has('RTE_LIB_METRICS')
13     deps += 'metrics'
14 endif