cmake: do not check if sdkconfig exists

This commit is contained in:
Renz Christian Bagaporo 2019-10-22 13:09:25 +08:00
parent a6d40e3583
commit 308e4fcce1

View file

@ -317,10 +317,6 @@ macro(project project_name)
if(SDKCONFIG) if(SDKCONFIG)
get_filename_component(sdkconfig "${SDKCONFIG}" ABSOLUTE) get_filename_component(sdkconfig "${SDKCONFIG}" ABSOLUTE)
if(NOT EXISTS "${sdkconfig}")
message(FATAL_ERROR "SDKCONFIG '${sdkconfig}' does not exist.")
endif()
set(sdkconfig ${SDKCONFIG})
else() else()
set(sdkconfig "${CMAKE_CURRENT_LIST_DIR}/sdkconfig") set(sdkconfig "${CMAKE_CURRENT_LIST_DIR}/sdkconfig")
endif() endif()