BUG: Do not create versioned executable names on Xcode where they are not supported.

This commit is contained in:
Brad King 2008-02-06 14:06:50 -05:00
parent 07be6bb87b
commit 31a6670e43
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}