Removing hyphen inside KICAD_FULL_VERSION
authorCarsten Schoenert <c.schoenert@t-online.de>
Sat, 17 Dec 2016 19:11:25 +0000 (20:11 +0100)
committerCarsten Schoenert <c.schoenert@t-online.de>
Sun, 16 Dec 2018 08:01:15 +0000 (08:01 +0000)
Upstream is providing the possibility to append various strings into the
KICAD_FULL_VERSION if needed. We can use this to append the debian
specific version on the upstream version.
For this the KICAD_FULL_VERSION needs to be merged without the hyphen
'-' so the version is reflecting the debian version in real.

Gbp-Pq: Topic debian-hacks
Gbp-Pq: Name Removing-hyphen-inside-KICAD_FULL_VERSION.patch

CMakeModules/WriteVersionHeader.cmake

index d58c39b4058a9642e1d317a5a81e86acaeb9fc14..a550764a89569446d293f5cc29abfa4cea03759b 100644 (file)
@@ -39,7 +39,7 @@ set( KICAD_VERSION_FULL "${KICAD_VERSION}" )
 
 # Optional user version information defined at configuration.
 if( KICAD_VERSION_EXTRA )
-    set( KICAD_VERSION_FULL "${KICAD_VERSION_FULL}-${KICAD_VERSION_EXTRA}" )
+    set( KICAD_VERSION_FULL "${KICAD_VERSION_FULL}${KICAD_VERSION_EXTRA}" )
 endif()
 
 set( _wvh_new_version_text