Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nektar
Nektar
Commits
e13deed0
Commit
e13deed0
authored
Feb 06, 2016
by
Dave Moxey
Committed by
Spencer Sherwin
Mar 04, 2016
Browse files
Update compiler path resolution from upstream
parent
0529a180
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake/ResolveCompilerPaths.cmake
View file @
e13deed0
...
...
@@ -89,7 +89,7 @@ endmacro (RESOLVE_LIBRARIES)
macro
(
RESOLVE_INCLUDES INCS COMPILE_LINE
)
string
(
REGEX MATCHALL
"-I([^
\"
]+|
\"
[^
\"
]+
\"
)"
_all_tokens
"
${
COMPILE_LINE
}
"
)
set
(
_incs_found
)
set
(
_incs_found
""
)
foreach
(
token
${
_all_tokens
}
)
string
(
REGEX REPLACE
"^-I"
""
token
${
token
}
)
string
(
REGEX REPLACE
"//"
"/"
token
${
token
}
)
...
...
Write
Preview
Supports
Markdown
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