Don't bracket KICAD_VERSION when using git describe

(Cherry-picked from 75424cb246)
This commit is contained in:
Johannes Maibaum 2023-03-04 20:13:54 +01:00 committed by Ian McInerney
parent f135881bd6
commit 7fa758358f
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 # Check to make sure 'git' command did not fail. Otherwise fallback
# to KiCadVersion.cmake as the revision level. # to KiCadVersion.cmake as the revision level.
if( _git_describe_result EQUAL 0 ) if( _git_describe_result EQUAL 0 )
set( KICAD_VERSION "(${_git_DESCRIBE})" ) set( KICAD_VERSION "${_git_DESCRIBE}" )
endif() endif()
if( _git_rev_parse_head_result EQUAL 0 ) if( _git_rev_parse_head_result EQUAL 0 )