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>
Wed, 25 Jan 2017 21:38:35 +0000 (21:38 +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 013a36acb30b44fe9859d29c6972e2f7d8bc6525..c1cd7f6049925e20725a62477b5f3652f28591f5 100644 (file)
@@ -47,7 +47,7 @@ endif()
 
 # 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