Don't bracket KICAD_VERSION when using git describe

This commit is contained in:
Johannes Maibaum 2023-03-04 20:13:54 +01:00 committed by Ian McInerney
parent 13de3c0656
commit 75424cb246
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ macro( create_git_version_header _git_src_path )
# Check to make sure 'git' command did not fail. Otherwise fallback
# to KiCadVersion.cmake as the revision level.
if( _git_describe_result EQUAL 0 )
set( KICAD_VERSION "(${_git_DESCRIBE})" )
set( KICAD_VERSION "${_git_DESCRIBE}" )
endif()
if( _git_rev_parse_head_result EQUAL 0 )