BUG: Do not create versioned executable names on Xcode where they are not supported.
This commit is contained in:
parent
07be6bb87b
commit
31a6670e43
|
@ -2475,7 +2475,7 @@ void cmTarget::GetExecutableNamesInternal(std::string& name,
|
||||||
#else
|
#else
|
||||||
// Check for executable version properties.
|
// Check for executable version properties.
|
||||||
const char* version = this->GetProperty("VERSION");
|
const char* version = this->GetProperty("VERSION");
|
||||||
if(type != cmTarget::EXECUTABLE)
|
if(type != cmTarget::EXECUTABLE || this->Makefile->IsOn("XCODE"))
|
||||||
{
|
{
|
||||||
version = 0;
|
version = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue