[fix] delete unused library

This commit is contained in:
jzlv 2021-06-07 19:31:02 +08:00
parent d8985b6892
commit 41854d055f

View file

@ -233,10 +233,6 @@ function(check_all_library)
check_add_library(freertos ${CMAKE_SOURCE_DIR}/components/freertos) check_add_library(freertos ${CMAKE_SOURCE_DIR}/components/freertos)
endif() endif()
if(${SUPPORT_CRYPTO} STREQUAL "sw" OR ${SUPPORT_CRYPTO} STREQUAL "hw")
check_add_library(bflb_port ${CMAKE_SOURCE_DIR}/components/mbedtls/bflb_port)
endif()
if(${SUPPORT_LVGL} STREQUAL "y") if(${SUPPORT_LVGL} STREQUAL "y")
check_add_library(lvgl ${CMAKE_SOURCE_DIR}/components/lvgl) check_add_library(lvgl ${CMAKE_SOURCE_DIR}/components/lvgl)
endif() endif()
@ -252,11 +248,4 @@ function(check_all_library)
check_add_library(ble ${CMAKE_SOURCE_DIR}/components/ble) check_add_library(ble ${CMAKE_SOURCE_DIR}/components/ble)
endif() endif()
if(${SUPPORT_LWIP} STREQUAL "y")
if(${SUPPORT_FREERTOS} STREQUAL "n")
message(FATAL_ERROR "lwip need freertos,so you should set SUPPORT_FREERTOS=y")
endif()
check_add_library(lwip ${CMAKE_SOURCE_DIR}/components/lwip)
endif()
endfunction(check_all_library) endfunction(check_all_library)