From ac866223a96a31847522ea25abb8d789628b7efd 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 013a36ac..c1cd7f60 100644 --- a/CMakeModules/WriteVersionHeader.cmake +++ b/CMakeModules/WriteVersionHeader.cmake @@ -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 -- 2.30.2