summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-02-06 19:06:50 (GMT)
committerBrad King <brad.king@kitware.com>2008-02-06 19:06:50 (GMT)
commit31a6670e43dbeafab44ed3863d6172f68da408bc (patch)
treefee2283d8b3611cbc6a235bd9732afdf0d2b17f5
parent07be6bb87b27cc09ee17ae9b6850f00893eb586e (diff)
downloadCMake-31a6670e43dbeafab44ed3863d6172f68da408bc.zip
CMake-31a6670e43dbeafab44ed3863d6172f68da408bc.tar.gz
CMake-31a6670e43dbeafab44ed3863d6172f68da408bc.tar.bz2
BUG: Do not create versioned executable names on Xcode where they are not supported.
-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;
}