summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmTarget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 4f7c391..6cb8d93 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -2475,7 +2475,7 @@ void cmTarget::GetExecutableNamesInternal(std::string& name,
#else
// Check for executable version properties.
const char* version = this->GetProperty("VERSION");
- if(type != cmTarget::EXECUTABLE)
+ if(type != cmTarget::EXECUTABLE || this->Makefile->IsOn("XCODE"))
{
version = 0;
}