build: improve dependency handling
[dpdk.git] / drivers / crypto / openssl / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
3
4 dep = dependency('libcrypto', required: false)
5 if not dep.found()
6         build = false
7 endif
8 allow_experimental_apis = true
9 deps += 'bus_vdev'
10 sources = files('rte_openssl_pmd.c', 'rte_openssl_pmd_ops.c')
11 ext_deps += dep