Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
vkedwardli committed Jan 12, 2025
1 parent bb20a4a commit 1bdb547
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ endif()

find_package(Git)
if(GIT_FOUND AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git")
set(GIT_DESCRIBE "describe --tags --always --match gdxsv-\\*")
set(GIT_DESCRIBE "${GIT_EXECUTABLE} describe --tags --always --match gdxsv-\\*")
execute_process(
COMMAND ${GIT_EXECUTABLE} ${GIT_DESCRIBE}
COMMAND ${GIT_DESCRIBE}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
OUTPUT_VARIABLE GIT_VERSION
OUTPUT_STRIP_TRAILING_WHITESPACE
Expand Down

0 comments on commit 1bdb547

Please sign in to comment.