xref: /dpdk/drivers/compress/uadk/meson.build (revision d66269c088e96ab03e5049b73643f00ef7cd8760)
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright 2024-2025 Huawei Technologies Co.,Ltd. All rights reserved.
3# Copyright 2024-2025 Linaro ltd.
4
5if not is_linux
6    build = false
7    reason = 'only supported on Linux'
8    subdir_done()
9endif
10
11sources = files(
12        'uadk_compress_pmd.c',
13)
14
15deps += 'bus_vdev'
16dep = dependency('libwd_comp', required: false, method: 'pkg-config')
17if not dep.found()
18    build = false
19    reason = 'missing dependency, "libwd_comp"'
20else
21    ext_deps += dep
22endif
23
24dep = dependency('libwd', required: false, method: 'pkg-config')
25if not dep.found()
26    build = false
27    reason = 'missing dependency, "libwd"'
28else
29    ext_deps += dep
30endif
31