1# SPDX-License-Identifier: Apache-2.0 2 3cmake_minimum_required(VERSION 3.20.0) 4 5find_package(Zephyr COMPONENTS unittest HINTS $ENV{ZEPHYR_BASE}) 6 7project(bt_encrypt_le) 8 9add_subdirectory(${ZEPHYR_BASE}/tests/bluetooth/host host_mocks) 10add_subdirectory(${ZEPHYR_BASE}/tests/bluetooth/host/crypto mocks) 11 12target_sources(testbinary PRIVATE 13 src/main.c 14 src/test_suite_invalid_inputs.c 15) 16target_link_libraries(testbinary PRIVATE mocks host_mocks) 17