cmake: do not check if sdkconfig exists
This commit is contained in:
parent
a6d40e3583
commit
308e4fcce1
1 changed files with 0 additions and 4 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue