mirror of https://github.com/ARMmbed/mbed-os.git
Add external greentea-client dependency
Use FetchContent to obtain greentea-client at version XXX.pull/14803/head
parent
0940ffe37d
commit
20f6b5270f
|
@ -17,6 +17,8 @@ list(APPEND CMAKE_MODULE_PATH
|
|||
"${mbed-os_SOURCE_DIR}/platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_TFM/TARGET_TFM_LATEST/scripts;${mbed-os_SOURCE_DIR}/targets/TARGET_Cypress/scripts;${mbed-os_SOURCE_DIR}/targets/TARGET_NXP/scripts"
|
||||
)
|
||||
|
||||
add_subdirectory(extern)
|
||||
|
||||
option(BUILD_TESTING "Run unit tests only." OFF)
|
||||
|
||||
if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING)
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
# Copyright (c) 2021 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
include(FetchContent)
|
||||
|
||||
FetchContent_Declare(
|
||||
greentea-client
|
||||
GIT_REPOSITORY https://github.com/ARMmbed/greentea-client.git
|
||||
GIT_TAG 472aad2327fbfde827852fc44775904706847a3a
|
||||
)
|
||||
|
||||
FetchContent_MakeAvailable(greentea-client)
|
Loading…
Reference in New Issue