From 97aa85d0782174357394594550871e0d01f77347 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 10 Aug 2016 18:16:00 +0200 Subject: cmake: append that build is debug, not prepend --- cmake/opentrack-version.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmake/opentrack-version.cmake') diff --git a/cmake/opentrack-version.cmake b/cmake/opentrack-version.cmake index 9ea71377..5a4901ef 100644 --- a/cmake/opentrack-version.cmake +++ b/cmake/opentrack-version.cmake @@ -11,7 +11,7 @@ if(CMAKE_BUILD_TYPE) if (NOT _build_type STREQUAL "DEBUG") unset(_build_type) else() - set(_build_type "${_build_type}-") + set(_build_type "${_build_type}") endif() endif() @@ -29,7 +29,7 @@ extern OPENTRACK_COMPAT_EXPORT const char* opentrack_version; -const char* opentrack_version = \"${_build_type}${OPENTRACK_COMMIT}\"; +const char* opentrack_version = \"${OPENTRACK_COMMIT}-${_build_type}\"; ") set(crapola-ver) -- cgit v1.2.3