summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-06-12 12:31:33 (GMT)
committerBrad King <brad.king@kitware.com>2001-06-12 12:31:33 (GMT)
commit522ff0204a48774d42f9a1de4d2ab9530f0f6994 (patch)
treec48fea196e28971202d5dfff59626414108ec878 /Source
parent0929dbbacf7e7ecf393aab3620ab0e714186cf6b (diff)
downloadCMake-522ff0204a48774d42f9a1de4d2ab9530f0f6994.zip
CMake-522ff0204a48774d42f9a1de4d2ab9530f0f6994.tar.gz
CMake-522ff0204a48774d42f9a1de4d2ab9530f0f6994.tar.bz2
BUG: WIN32_EXECUTABLE targets were not being installed on unix properly. They are supposed to be treated just like any other EXECUTABLE target.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmUnixMakefileGenerator.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index a47eb6c..afcd1ae 100644
--- a/Source/cmUnixMakefileGenerator.cxx
+++ b/Source/cmUnixMakefileGenerator.cxx
@@ -901,6 +901,7 @@ void cmUnixMakefileGenerator::OutputInstallRules(std::ostream& fout)
}
fout << " " << prefix << l->second.GetInstallPath() << "\n";
break;
+ case cmTarget::WIN32_EXECUTABLE:
case cmTarget::EXECUTABLE:
fout << "\t$(INSTALL_PROGRAM) " << l->first
<< " " << prefix << l->second.GetInstallPath() << "\n";
@@ -925,6 +926,9 @@ void cmUnixMakefileGenerator::OutputInstallRules(std::ostream& fout)
}
}
break;
+ case cmTarget::UTILITY:
+ default:
+ break;
}
}
}