[cmake-commits] king committed cmTarget.cxx 1.191 1.192
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Feb 6 14:06:53 EST 2008
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv9262/Source
Modified Files:
cmTarget.cxx
Log Message:
BUG: Do not create versioned executable names on Xcode where they are not supported.
Index: cmTarget.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmTarget.cxx,v
retrieving revision 1.191
retrieving revision 1.192
diff -u -d -r1.191 -r1.192
--- cmTarget.cxx 6 Feb 2008 18:34:44 -0000 1.191
+++ cmTarget.cxx 6 Feb 2008 19:06:50 -0000 1.192
@@ -2475,7 +2475,7 @@
#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;
}
More information about the Cmake-commits
mailing list