summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-07-19 20:40:44 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-07-19 20:40:44 (GMT)
commita13713818cea07e565bdda8463f054e3d2ccd1fa (patch)
tree48194d3ac194b22c1fe90afb240af025f3ae89a3 /Source/cmFileCommand.cxx
parent0ba0cb8a1ac6902ae41f4814d041fcec658c1af2 (diff)
downloadCMake-a13713818cea07e565bdda8463f054e3d2ccd1fa.zip
CMake-a13713818cea07e565bdda8463f054e3d2ccd1fa.tar.gz
CMake-a13713818cea07e565bdda8463f054e3d2ccd1fa.tar.bz2
ENH: if Xcode21 is installed then create 21 compatible project files
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r--Source/cmFileCommand.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index 9e867f8..7fd5910 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -304,7 +304,8 @@ bool cmFileCommand::HandleInstallCommand(
{
extra_dir = build_type;
std::string btype = cmSystemTools::LowerCase(build_type);
- if ( strncmp(btype.c_str(), "debug", strlen("debug")) == 0 )
+ if ( m_Makefile->GetDefinition("WIN32")
+ && strncmp(btype.c_str(), "debug", strlen("debug")) == 0 )
{
debug = 1;
}