mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-29 18:27:20 +02:00
cmake: pass repository path to git when doing git describe
Fixes getting IDF version in out-of-tree builds
This commit is contained in:
@ -109,6 +109,8 @@ function(git_describe _var _repo_dir)
|
||||
|
||||
execute_process(COMMAND
|
||||
"${GIT_EXECUTABLE}"
|
||||
"-C"
|
||||
${_repo_dir}
|
||||
describe
|
||||
${hash}
|
||||
${ARGN}
|
||||
|
Reference in New Issue
Block a user