Commit 2326d90e authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum

[FIX] trailing newline removed. Fixes compilation issue with auto-generated version header.

parent 5bac9e28
......@@ -574,6 +574,7 @@ FUNCTION( GET_VERSION_STRING _version _api_version )
STRING( REGEX REPLACE "\\+gitX" "" OW_VERSION ${OW_VERSION_FILE} )
ELSE()
# if we have the mercurial info -> complement the version string
STRING( REGEX REPLACE "\n$" "" OW_VERSION_GIT "${OW_VERSION_GIT}" )
STRING( REGEX REPLACE "gitX" "git${OW_VERSION_GIT}" OW_VERSION ${OW_VERSION_FILE} )
ENDIF()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment