CMake: remove redundant comments (they're at top-level too)
This commit is contained in:
parent
2322f12b59
commit
42f4cdd40c
@ -57,11 +57,6 @@ function( extend_version version short_only short_var long_var )
|
|||||||
set( ${short_var} "${version}" PARENT_SCOPE )
|
set( ${short_var} "${version}" PARENT_SCOPE )
|
||||||
set( _v "${version}" )
|
set( _v "${version}" )
|
||||||
if ( NOT short_only )
|
if ( NOT short_only )
|
||||||
# Additional info for non-release builds which want "long" version info
|
|
||||||
# with date and git information (commit, dirty status). That is used only
|
|
||||||
# by CalamaresVersionX.h, which is included by consumers that need a full
|
|
||||||
# version number with all that information; normal consumers can include
|
|
||||||
# CalamaresVersion.h with more stable numbers.
|
|
||||||
string( TIMESTAMP CALAMARES_VERSION_DATE "%Y%m%d" )
|
string( TIMESTAMP CALAMARES_VERSION_DATE "%Y%m%d" )
|
||||||
if( CALAMARES_VERSION_DATE GREATER 0 )
|
if( CALAMARES_VERSION_DATE GREATER 0 )
|
||||||
set( _v ${_v}.${CALAMARES_VERSION_DATE} )
|
set( _v ${_v}.${CALAMARES_VERSION_DATE} )
|
||||||
|
Loading…
Reference in New Issue
Block a user