diff --git a/src/posix/cli.cmake b/src/posix/cli.cmake index 3bf007733..5002da5f5 100644 --- a/src/posix/cli.cmake +++ b/src/posix/cli.cmake @@ -59,6 +59,7 @@ target_link_libraries(ot-cli openthread-spinel-rcp ${OT_MBEDTLS} ${READLINE_LINK_LIBRARIES} + ot-config ) diff --git a/src/posix/daemon.cmake b/src/posix/daemon.cmake index f7e7326ec..37b445d03 100644 --- a/src/posix/daemon.cmake +++ b/src/posix/daemon.cmake @@ -55,6 +55,7 @@ target_link_libraries(ot-daemon PRIVATE openthread-hdlc openthread-spinel-rcp ${OT_MBEDTLS} + ot-config ) add_executable(ot-ctl