diff --git a/connectivity/lorawan/CMakeLists.txt b/connectivity/lorawan/CMakeLists.txt index 35bd5282a8..743a0ff9ae 100644 --- a/connectivity/lorawan/CMakeLists.txt +++ b/connectivity/lorawan/CMakeLists.txt @@ -26,4 +26,5 @@ target_compile_definitions(mbed-lorawan target_link_libraries(mbed-lorawan INTERFACE mbed-events + mbed-mbedtls ) diff --git a/connectivity/lorawan/tests/TESTS/lorawan/loraradio/CMakeLists.txt b/connectivity/lorawan/tests/TESTS/lorawan/loraradio/CMakeLists.txt new file mode 100644 index 0000000000..599c6c5e06 --- /dev/null +++ b/connectivity/lorawan/tests/TESTS/lorawan/loraradio/CMakeLists.txt @@ -0,0 +1,16 @@ +# Copyright (c) 2020 ARM Limited. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 + +cmake_minimum_required(VERSION 3.19.0 FATAL_ERROR) + +set(MBED_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../../../.. CACHE INTERNAL "") +set(TEST_TARGET mbed-connectivity-lorawan-loraradio) + +include(${MBED_PATH}/tools/cmake/mbed_greentea.cmake) + +project(${TEST_TARGET}) + +mbed_greentea_cmake_macro( + TEST_NAME ${TEST_TARGET} + TEST_REQUIRED_LIBS mbed-lorawan +)