mirror of
https://github.com/espressif/openthread.git
synced 2026-08-15 07:07:46 +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
|
||||
openthread-ftd
|
||||
openthread-ncp-ftd
|
||||
ot-config
|
||||
${OT_MBEDTLS}
|
||||
util
|
||||
|
||||
Reference in New Issue
Block a user