Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenWalnut Core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
44
Issues
44
List
Boards
Labels
Service Desk
Milestones
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
2326d90e
Commit
2326d90e
authored
Jun 28, 2017
by
Sebastian Eichelbaum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] trailing newline removed. Fixes compilation issue with auto-generated version header.
parent
5bac9e28
Changes
1
Hide 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