]> git.droids-corp.org - dpdk.git/blobdiff - examples/l3fwd-power/meson.build
net/mlx4: fix premature disabling of interrupt
[dpdk.git] / examples / l3fwd-power / meson.build
index b38a7a0d758ffbfe3ea01391020a7955dd09a573..4cd694710d2fde967f2fff14e359e77a0610b1cd 100644 (file)
@@ -6,11 +6,13 @@
 # To build this example as a standalone application with an already-installed
 # DPDK instance, use 'make'
 
-if not is_linux
-       build = false
+if not dpdk_conf.has('RTE_LIBRTE_POWER')
+        build = false
+        subdir_done()
 endif
+
 allow_experimental_apis = true
-deps += ['power', 'timer', 'lpm', 'hash', 'metrics']
+deps += ['power', 'timer', 'lpm', 'hash', 'metrics', 'telemetry']
 sources = files(
        'main.c', 'perf_core.c'
 )