projects
/
profile
/
ivi
/
navit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix:graphics_win32:Transform non-opaque, grayscale etc png files to RGBA format properly.
[profile/ivi/navit.git]
/
navit
/
cmake
/
version.cmake
diff --git
a/navit/cmake/version.cmake
b/navit/cmake/version.cmake
index
3cf26d5
..
413bf0e
100644
(file)
--- a/
navit/cmake/version.cmake
+++ b/
navit/cmake/version.cmake
@@
-28,6
+28,9
@@
if (NOT VERSION)
endif(Subversion_FOUND)
if (VERSION AND (NOT ${VERSION} MATCHES "^exported"))
+ if (STRIP_M)
+ string(REGEX REPLACE "M$" "" VERSION ${VERSION})
+ endif()
set( ${NAME} ${VERSION} )
endif()
else()