diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-10 18:16:00 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-10 18:22:00 +0200 |
commit | 97aa85d0782174357394594550871e0d01f77347 (patch) | |
tree | c041353c9d524a27aca514f34b214ac6b961cf31 /cmake/opentrack-version.cmake | |
parent | 530352f28b919ee3a55d22585c16c1661e8ca2ca (diff) |
cmake: append that build is debug, not prepend
Diffstat (limited to 'cmake/opentrack-version.cmake')
-rw-r--r-- | cmake/opentrack-version.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
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) |