Fix:graphics_win32:Transform non-opaque, grayscale etc png files to RGBA format properly.
[profile/ivi/navit.git] / navit / cmake / version.cmake
index 3cf26d5..413bf0e 100644 (file)
@@ -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()