Skip to content

Commit

Permalink
fix cmake: use cmake provided git
Browse files Browse the repository at this point in the history
commit_hash:13544a6adfa1dafdf66f0c5fe36c986099588828
  • Loading branch information
fdr400 committed Nov 14, 2024
1 parent 38685ed commit ddcdfad
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
1 change: 0 additions & 1 deletion .mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,6 @@
"cmake/modules/FindBrotli.cmake":"taxi/uservices/userver/cmake/modules/FindBrotli.cmake",
"cmake/modules/FindCrypto.cmake":"taxi/uservices/userver/cmake/modules/FindCrypto.cmake",
"cmake/modules/FindCryptoPP.cmake":"taxi/uservices/userver/cmake/modules/FindCryptoPP.cmake",
"cmake/modules/FindGit.cmake":"taxi/uservices/userver/cmake/modules/FindGit.cmake",
"cmake/modules/FindGrpcChannelz.cmake":"taxi/uservices/userver/cmake/modules/FindGrpcChannelz.cmake",
"cmake/modules/FindGssApi.cmake":"taxi/uservices/userver/cmake/modules/FindGssApi.cmake",
"cmake/modules/FindHiredis.cmake":"taxi/uservices/userver/cmake/modules/FindHiredis.cmake",
Expand Down
2 changes: 1 addition & 1 deletion cmake/GetUserverVersion.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ find_package(Git)

if(Git_FOUND)
execute_process(
COMMAND ${Git_EXECUTABLE} rev-parse --short HEAD
COMMAND ${GIT_EXECUTABLE} rev-parse --short HEAD
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
OUTPUT_VARIABLE USERVER_HASH
RESULT_VARIABLE STATUS
Expand Down
10 changes: 0 additions & 10 deletions cmake/modules/FindGit.cmake

This file was deleted.

0 comments on commit ddcdfad

Please sign in to comment.