summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--cmake/opentrack-version.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/opentrack-version.cmake b/cmake/opentrack-version.cmake
index bb907525..a72347ee 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 = \"${OPENTRACK_COMMIT}-${_build_type}\";
+const char* opentrack_version = \"${OPENTRACK_COMMIT}${_build_type}\";
")
set(crapola-ver)