[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:
Li Cao
2020-07-29 11:24:57 -07:00
committed by GitHub
parent 1dd46f9d93
commit 7fe1d29ab4
-1
View File
@@ -33,7 +33,6 @@ set(COMMON_SOURCES
set(COMMON_LIBS
openthread-ftd
openthread-ncp-ftd
ot-config
${OT_MBEDTLS}
util