nrf91: fix cmake compiler error
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
parent
d7f02a8cb6
commit
6ac1299218
@ -144,14 +144,10 @@ if(CONFIG_NRF91_MODEM)
|
||||
set(MODEM_LIB_VARIANT libmodem.a)
|
||||
endif()
|
||||
|
||||
nuttx_library_import(
|
||||
modem
|
||||
nuttx_add_extra_library(
|
||||
${NRFXLIB_DIR}/nrf_modem/lib/cortex-m33/${NRFXLIB_LIB_VARIANT}/${MODEM_LIB_VARIANT}
|
||||
)
|
||||
target_include_directories(arch PRIVATE ${NRFXLIB_DIR}/nrf_modem/include)
|
||||
|
||||
target_link_libraries(arch PRIVATE modem)
|
||||
target_link_libraries(modem INTERFACE arch c net)
|
||||
endif()
|
||||
|
||||
target_sources(arch PRIVATE ${SRCS})
|
||||
|
Loading…
Reference in New Issue
Block a user