summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmAddExecutableCommand.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmAddExecutableCommand.cxx b/Source/cmAddExecutableCommand.cxx
index 8b5f24c..0bc2a7a 100644
--- a/Source/cmAddExecutableCommand.cxx
+++ b/Source/cmAddExecutableCommand.cxx
@@ -69,10 +69,10 @@ bool cmAddExecutableCommand::InitialPass(std::vector<std::string> const& args)
if ( macdir.size() == 0 )
{
macdir = m_Makefile->GetCurrentOutputDirectory();
- if(macdir.size() && macdir[macdir.size()-1] != '/')
- {
- macdir += "/";
- }
+ }
+ if(macdir.size() && macdir[macdir.size()-1] != '/')
+ {
+ macdir += "/";
}
macdir += exename + ".app/Contents/";
std::string f2 = macdir + "Info.plist";