Buildsystem: Use the git-executable variable as the command to run as well...
Thanks to Shauren and leak for pointing that out.
This commit is contained in:
1 parent
0f5d03211b
commit
5755ab14ac
1 file changed
+1
-1
+1
-1
@@ -32,7 +32,7 @@ ensure_version( "${_REQUIRED_GIT_VERSION}" "${_GIT_VERSION}" _GIT_VERSION_OK)
|
||||
|
||||
if(_GIT_VERSION_OK)
|
||||
execute_process(
|
||||
COMMAND git describe --match init --dirty=+ --abbrev=12
|
||||
COMMAND "${_GIT_EXEC}" describe --match init --dirty=+ --abbrev=12
|
||||
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
|
||||
OUTPUT_VARIABLE rev_info
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
|
||||
Reference in new issue
Block a user