Commit 31a6670e authored by Brad King's avatar Brad King
Browse files

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

parent 07be6bb8
......@@ -2475,7 +2475,7 @@ void cmTarget::GetExecutableNamesInternal(std::string& name,
// 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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment