Skip to content

Commit

Permalink
Fix h3 version inference to not get confused for hex packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Vagabond committed Jan 5, 2024
1 parent df78f54 commit da72b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c_src/cmake/FindH3.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ endif()
# upstream uber/h3
find_package(Git REQUIRED)
execute_process(COMMAND
${GIT_EXECUTABLE} describe --tags
test -d .git && ${GIT_EXECUTABLE} describe --tags
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
RESULT_VARIABLE GIT_SUCCESS
OUTPUT_VARIABLE ERLANG_H3_TAG
Expand Down

0 comments on commit da72b03

Please sign in to comment.