Browse Source

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

Brad King 18 years ago
parent
commit
31a6670e43
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmTarget.cxx

+ 1 - 1
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;
     }