mirror of
https://github.com/espressif/openthread.git
synced 2026-09-14 05:00:11 +00:00
[cmake] fix link issues of unit tests (#5309)
I think openthread-ncp-ftd is added to unit tests' link libraries by mistake. It's not required and as it depends on OT_PLATFORM, it would cause openthread-simulation linked in unit test executables, which would lead to a redefinition as some methods are defined in test-platform.cpp.
This commit is contained in:
@@ -33,7 +33,6 @@ set(COMMON_SOURCES
|
|||||||
|
|
||||||
set(COMMON_LIBS
|
set(COMMON_LIBS
|
||||||
openthread-ftd
|
openthread-ftd
|
||||||
openthread-ncp-ftd
|
|
||||||
ot-config
|
ot-config
|
||||||
${OT_MBEDTLS}
|
${OT_MBEDTLS}
|
||||||
util
|
util
|
||||||
|
|||||||
Reference in New Issue
Block a user