mirror of
https://github.com/espressif/mbedtls.git
synced 2026-09-05 01:49:55 +00:00
Remove dependency on submodule 'framework'
ESP_IDF dose not have support for recursive updation of submodules, also it has no dependency on submodule 'framework' currently. Therefore, this commit eliminates the dependency on the 'framework' submodule.
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
[submodule "framework"]
|
||||
path = framework
|
||||
url = https://github.com/Mbed-TLS/mbedtls-framework
|
||||
|
||||
@@ -313,15 +313,6 @@ if(LIB_INSTALL_DIR)
|
||||
set(CMAKE_INSTALL_LIBDIR "${LIB_INSTALL_DIR}")
|
||||
endif()
|
||||
|
||||
if (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/framework/CMakeLists.txt")
|
||||
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git")
|
||||
message(FATAL_ERROR "${CMAKE_CURRENT_SOURCE_DIR}CMakeLists.txt not found (and does appear to be a git checkout). Run `git submodule update --init` from the source tree to fetch the submodule contents.")
|
||||
else ()
|
||||
message(FATAL_ERROR "${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt not found (and does not appear to be a git checkout). Please ensure you have downloaded the right archive from the release page on GitHub.")
|
||||
endif()
|
||||
endif()
|
||||
add_subdirectory(framework)
|
||||
|
||||
add_subdirectory(include)
|
||||
|
||||
add_subdirectory(3rdparty)
|
||||
|
||||
Reference in New Issue
Block a user