small addition and possible fix
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit

This commit is contained in:
Robin Müller 2022-04-22 14:55:17 +02:00
parent 539e01deee
commit 750369b0a6
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -48,7 +48,8 @@ project(${LIB_FSFW_NAME})
add_library(${LIB_FSFW_NAME})
# Version handling
if(EXISTS .git)
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git)
message(STATUS "${MSG_PREFIX} Determining version information with git")
include(helpers)
determine_version_with_git("--exclude" "docker_*")
set(FSFW_GIT_INFO ${GIT_INFO} CACHE STRING "Version information retrieved with git describe")