mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
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:
@@ -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