Add support for source files in custom targets for VS 10 (Bug#11330).

In VS10, CMake was not adding the source files that were in the SOURCES
list for add_custom_target.  This patch fixes that issue.
This commit is contained in:
Bill Hoffman 2011-01-06 16:48:46 -05:00
parent 8e6ad8ce72
commit 7bbab25961
1 changed files with 1 additions and 1 deletions

View File

@ -651,7 +651,7 @@ void cmVisualStudio10TargetGenerator::WriteObjSources()
void cmVisualStudio10TargetGenerator::WriteCLSources()
{
if(this->Target->GetType() > cmTarget::MODULE_LIBRARY)
if(this->Target->GetType() > cmTarget::UTILITY)
{
return;
}