Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
2326d90e
Commit
2326d90e
authored
Jun 28, 2017
by
Sebastian Eichelbaum
Browse files
[FIX] trailing newline removed. Fixes compilation issue with auto-generated version header.
parent
5bac9e28
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
tools/cmake/OpenWalnutUtils.cmake
tools/cmake/OpenWalnutUtils.cmake
+1
-0
No files found.
tools/cmake/OpenWalnutUtils.cmake
View file @
2326d90e
...
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment