diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-18 09:06:00 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-18 09:12:55 +0100 |
commit | 187f25aefdb9fd63b8465e8e661b942401addde0 (patch) | |
tree | b6b8c23513c0e0bf2418b130ce9e79ee495030a3 /cmake | |
parent | c2f88ee8bec8cdd0ea573b54aee89a241c7d4deb (diff) |
cmake: const correctness
Diffstat (limited to '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 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") |