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:
parent
8e6ad8ce72
commit
7bbab25961
|
@ -651,7 +651,7 @@ void cmVisualStudio10TargetGenerator::WriteObjSources()
|
||||||
|
|
||||||
void cmVisualStudio10TargetGenerator::WriteCLSources()
|
void cmVisualStudio10TargetGenerator::WriteCLSources()
|
||||||
{
|
{
|
||||||
if(this->Target->GetType() > cmTarget::MODULE_LIBRARY)
|
if(this->Target->GetType() > cmTarget::UTILITY)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue