cmake: Use namespaced greentea client library

When using an exported or installed version of greentea, it's necessary
to use the greentea namespace.
pull/14803/head
Jaeden Amero 2021-06-29 13:49:51 +01:00
parent 4e2206e482
commit c3f3ed7661
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ macro(mbed_greentea_add_test)
list(APPEND MBED_GREENTEA_TEST_REQUIRED_LIBS mbed-os)
endif()
list(APPEND MBED_GREENTEA_TEST_REQUIRED_LIBS greentea-client mbed-unity mbed-utest)
list(APPEND MBED_GREENTEA_TEST_REQUIRED_LIBS greentea::client mbed-unity mbed-utest)
target_link_libraries(${MBED_GREENTEA_TEST_NAME}
PRIVATE