net/vhost: move to vhost library statistics API
[dpdk.git] / app / proc-info / meson.build
index 82ed05b..1563ce6 100644 (file)
@@ -2,10 +2,13 @@
 # Copyright(c) 2018 Intel Corporation
 
 if is_windows
-       build = false
-       reason = 'not supported on Windows'
-       subdir_done()
+    build = false
+    reason = 'not supported on Windows'
+    subdir_done()
 endif
 
 sources = files('main.c')
-deps += ['ethdev', 'metrics', 'security']
+deps += ['ethdev', 'security']
+if dpdk_conf.has('RTE_LIB_METRICS')
+    deps += 'metrics'
+endif