summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-version.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/opentrack-version.cmake')
-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 181fc613..05390659 100644
--- a/cmake/opentrack-version.cmake
+++ b/cmake/opentrack-version.cmake
@@ -24,9 +24,9 @@ extern \"C\"
extern
#endif
-const char* opentrack_version;
+const char* const opentrack_version;
-const char* opentrack_version = \"${OPENTRACK_COMMIT}${_build_type}\";
+const char* const opentrack_version = \"${OPENTRACK_COMMIT}${_build_type}\";
")
set(file "${CMAKE_CURRENT_BINARY_DIR}/version.cpp")