We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8b692c8 + ba579d6 commit 7270c92Copy full SHA for 7270c92
tools/cmake/build.cmake
@@ -1,4 +1,3 @@
1
-
2
# idf_build_get_property
3
#
4
# @brief Retrieve the value of the specified property related to ESP-IDF build.
@@ -126,8 +125,9 @@ endfunction()
126
125
# properties used for the processing phase of the build.
127
128
function(__build_init idf_path)
129
- # Create the build target, to which the ESP-IDF build properties, dependencies are attached to
130
- add_library(__idf_build_target STATIC IMPORTED)
+ # Create the build target, to which the ESP-IDF build properties, dependencies are attached to.
+ # Must be global so as to be accessible from any subdirectory in custom projects.
+ add_library(__idf_build_target STATIC IMPORTED GLOBAL)
131
132
set_default(python "python")
133
0 commit comments