cmake: make __idf_build_target global

This commit is contained in:
Renz Bagaporo 2020-05-13 15:38:20 +08:00
parent c946ca8b45
commit a0f3f1e0cb

View file

@ -127,7 +127,7 @@ endfunction()
# #
function(__build_init idf_path) function(__build_init idf_path)
# Create the build target, to which the ESP-IDF build properties, dependencies are attached to # Create the build target, to which the ESP-IDF build properties, dependencies are attached to
add_library(__idf_build_target STATIC IMPORTED) add_library(__idf_build_target STATIC IMPORTED GLOBAL)
set_default(python "python") set_default(python "python")