From bf1df9b5b54cbf79d528d11ebcfaae0cae9bb0f5 Mon Sep 17 00:00:00 2001 From: Renz Christian Bagaporo Date: Tue, 22 Oct 2019 13:09:25 +0800 Subject: [PATCH] cmake: do not check if sdkconfig exists --- tools/cmake/project.cmake | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/cmake/project.cmake b/tools/cmake/project.cmake index e0c970b464..e96dccc4ff 100644 --- a/tools/cmake/project.cmake +++ b/tools/cmake/project.cmake @@ -331,10 +331,6 @@ macro(project project_name) if(SDKCONFIG) get_filename_component(sdkconfig "${SDKCONFIG}" ABSOLUTE) - if(NOT EXISTS "${sdkconfig}") - message(FATAL_ERROR "SDKCONFIG '${sdkconfig}' does not exist.") - endif() - set(sdkconfig ${SDKCONFIG}) else() set(sdkconfig "${CMAKE_CURRENT_LIST_DIR}/sdkconfig") endif()