Skip to content

Commit 08e2759

Browse files
LDong-ArmPatater
authored andcommitted
CMake: Fix linking of greentea, unity and utest
The test application uses the greentea client for synchronization with the host and unity for assertions, and unity in Mbed OS contains references to utest. We have recently split them from one mbed-greentea library into three, so the test application needs to link all of them.
1 parent 84080f2 commit 08e2759

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ target_link_libraries(${APP_TARGET}
4343
PRIVATE
4444
mbed-os
4545
mbed-psa
46-
mbed-greentea
46+
mbed-unity
47+
mbed-utest
48+
mbed-greentea-io
49+
greentea::client_userio
4750
)
4851

4952
if ("${MBED_CONFIG_DEFINITIONS}" MATCHES "MBED_CONF_APP_REGRESSION_TEST=1")

0 commit comments

Comments
 (0)