[build system]: Fixed common requirement for Linux

This commit is contained in:
Jakob Hasse
2021-08-11 15:22:50 +08:00
parent 8750034c19
commit 7029f0537e
12 changed files with 26 additions and 30 deletions
+5 -5
View File
@@ -1,6 +1,11 @@
# Designed to be included from an IDF app's CMakeLists.txt file
cmake_minimum_required(VERSION 3.5)
include(${CMAKE_CURRENT_LIST_DIR}/targets.cmake)
# Initialize build target for this build using the environment variable or
# value passed externally.
__target_init()
# The mere inclusion of this CMake file sets up some interal build properties.
# These properties can be modified in between this inclusion the the idf_build_process
# call.
@@ -33,10 +38,6 @@ else()
idf_build_set_property(EXTRA_CMAKE_ARGS "")
endif()
# Initialize build target for this build using the environment variable or
# value passed externally.
__target_init()
#
# Get the project version from either a version file or the Git revision. This is passed
# to the idf_build_process call. Dependencies are also set here for when the version file
@@ -172,7 +173,6 @@ function(__project_init components_var test_components_var)
endif()
endfunction()
# Add component directories to the build, given the component filters, exclusions
# extra directories, etc. passed from the root CMakeLists.txt.
if(COMPONENT_DIRS)