Skip to content
GitLab
Menu
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
e7d75864
Commit
e7d75864
authored
Sep 18, 2009
by
Bill Hoffman
Browse files
Only do the OSX arch stuff on OSX.
parent
7b0e7f71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmLocalGenerator.cxx
View file @
e7d75864
...
...
@@ -1748,7 +1748,8 @@ void cmLocalGenerator::AddLanguageFlags(std::string& flags,
std
::
string
flagsVar
=
"CMAKE_"
;
flagsVar
+=
lang
;
flagsVar
+=
"_FLAGS"
;
// Add special OSX flags
#ifdef __APPLE__
if
(
this
->
EmitUniversalBinaryFlags
)
{
const
char
*
osxArch
=
...
...
@@ -1815,7 +1816,7 @@ void cmLocalGenerator::AddLanguageFlags(std::string& flags,
flags
+=
deploymentTarget
;
}
}
#endif
this
->
AddConfigVariableFlags
(
flags
,
flagsVar
.
c_str
(),
config
);
}
...
...
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