Display S3DSG in single line during CMake configuration step
This commit is contained in:
parent
389c7b2bbc
commit
1dfd74bec9
|
@ -51,7 +51,6 @@ if( NOT ${S3DSG_VERSION_FILE} STREQUAL "S3DSG_VERSION_FILE-NOTFOUND" )
|
||||||
string( REGEX MATCH [0-9]+ _VALUE ${SVAR} )
|
string( REGEX MATCH [0-9]+ _VALUE ${SVAR} )
|
||||||
|
|
||||||
if( NOT ${_VARNAME} STREQUAL "" )
|
if( NOT ${_VARNAME} STREQUAL "" )
|
||||||
message( "INFO: " ${_VARNAME} " = " ${_VALUE} )
|
|
||||||
if( NOT ${_VALUE} STREQUAL "" )
|
if( NOT ${_VALUE} STREQUAL "" )
|
||||||
set( ${_VARNAME} ${_VALUE} )
|
set( ${_VARNAME} ${_VALUE} )
|
||||||
else()
|
else()
|
||||||
|
@ -78,6 +77,7 @@ if( NOT ${S3DSG_VERSION_FILE} STREQUAL "S3DSG_VERSION_FILE-NOTFOUND" )
|
||||||
PROPERTIES SOVERSION
|
PROPERTIES SOVERSION
|
||||||
${KICADSG_VERSION_MAJOR}.${KICADSG_VERSION_MINOR}.${KICADSG_VERSION_PATCH} )
|
${KICADSG_VERSION_MAJOR}.${KICADSG_VERSION_MINOR}.${KICADSG_VERSION_PATCH} )
|
||||||
|
|
||||||
|
message( STATUS "S3DSG version: ${KICADSG_VERSION_MAJOR}.${KICADSG_VERSION_MINOR}.${KICADSG_VERSION_PATCH}" )
|
||||||
else()
|
else()
|
||||||
message( FATAL_ERROR "Cannot determine the S3DSG library version" )
|
message( FATAL_ERROR "Cannot determine the S3DSG library version" )
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue