mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 00:11:07 -06:00
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:
@@ -651,7 +651,7 @@ void cmVisualStudio10TargetGenerator::WriteObjSources()
|
||||
|
||||
void cmVisualStudio10TargetGenerator::WriteCLSources()
|
||||
{
|
||||
if(this->Target->GetType() > cmTarget::MODULE_LIBRARY)
|
||||
if(this->Target->GetType() > cmTarget::UTILITY)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user