Skip to content

Commit

Permalink
Merge pull request #323 from tim-griesbach/fix-cmake-version
Browse files Browse the repository at this point in the history
Fix git-version-gen path
  • Loading branch information
cburstedde authored Nov 7, 2024
2 parents 851774a + eba848f commit 10fbe5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/git.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set(PROJECT_MINOR 0)
set(PROJECT_PATCH 0)
set(PROJECT_VERSION 0.0.0)
find_program(GIT_VERSION_GEN NAMES git-version-gen
PATHS ${PROJECT_SOURCE_DIR}/build-aux NO_DEFAULT_PATH)
PATHS ${CMAKE_CURRENT_SOURCE_DIR}/build-aux NO_DEFAULT_PATH)
if(GIT_VERSION_GEN)
execute_process(COMMAND ${GIT_VERSION_GEN} .tarball-version
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
Expand Down

0 comments on commit 10fbe5c

Please sign in to comment.