Don't bracket KICAD_VERSION when using git describe
(Cherry-picked from 75424cb246
)
This commit is contained in:
parent
f135881bd6
commit
7fa758358f
|
@ -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 )
|
||||||
|
|
Loading…
Reference in New Issue