mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 11:17: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
|
execute_process(COMMAND
|
||||||
"${GIT_EXECUTABLE}"
|
"${GIT_EXECUTABLE}"
|
||||||
|
"-C"
|
||||||
|
${_repo_dir}
|
||||||
describe
|
describe
|
||||||
${hash}
|
${hash}
|
||||||
${ARGN}
|
${ARGN}
|
||||||
|
Reference in New Issue
Block a user