mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
cmake: do not check if sdkconfig exists
This commit is contained in:
parent
d43cc4fa4b
commit
bf1df9b5b5
@ -331,10 +331,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…
x
Reference in New Issue
Block a user