Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
ff8e321c
Commit
ff8e321c
authored
Oct 08, 2016
by
Stephen Kelly
Browse files
cmLocalGenerator: Separate stdlib content from library stream
parent
80f57e67
Pipeline
#30058
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Source/cmLocalGenerator.cxx
View file @
ff8e321c
...
...
@@ -1506,8 +1506,12 @@ void cmLocalGenerator::OutputLinkLibraries(
std
::
string
standardLibsVar
=
"CMAKE_"
;
standardLibsVar
+=
cli
.
GetLinkLanguage
();
standardLibsVar
+=
"_STANDARD_LIBRARIES"
;
std
::
string
stdLibString
;
if
(
const
char
*
stdLibs
=
this
->
Makefile
->
GetDefinition
(
standardLibsVar
))
{
fout
<<
stdLibs
<<
" "
;
stdLibString
=
stdLibs
;
}
if
(
!
stdLibString
.
empty
())
{
fout
<<
stdLibString
<<
" "
;
}
linkLibraries
=
fout
.
str
();
...
...
Brad King
@brad.king
Mentioned in commit
656ebaca
·
Oct 10, 2016
Mentioned in commit
656ebaca
Mentioned in commit 656ebaca3be50e92edca3d9628b784f5ff1e6a99
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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