From 91df73074fa535fdab8b3373d6f9dc5250ccb7ba Mon Sep 17 00:00:00 2001 From: Carsten Schoenert Date: Sat, 17 Dec 2016 20:11:25 +0100 Subject: [PATCH] Removing hyphen inside KICAD_FULL_VERSION 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeModules/WriteVersionHeader.cmake b/CMakeModules/WriteVersionHeader.cmake index d58c39b4..a550764a 100644 --- a/CMakeModules/WriteVersionHeader.cmake +++ b/CMakeModules/WriteVersionHeader.cmake @@ -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 -- 2.30.2