Skip to content

Commit e3045d9

Browse files
committed
Merge branch 'bugfix/git_describe_cmake' into 'master'
build system: fix NOTFOUND git version error See merge request espressif/esp-idf!12526
2 parents 1a53bd3 + 8416e72 commit e3045d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/cmake/build.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ endfunction()
6464
#
6565
function(__build_get_idf_git_revision)
6666
idf_build_get_property(idf_path IDF_PATH)
67-
git_describe(idf_ver_git "${idf_path}" "--match v*.*")
67+
git_describe(idf_ver_git "${idf_path}" "--match=v*.*")
6868
if(EXISTS "${idf_path}/version.txt")
6969
file(STRINGS "${idf_path}/version.txt" idf_ver_t)
7070
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "${idf_path}/version.txt")

0 commit comments

Comments
 (0)