summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2011-01-06 21:48:46 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2011-01-06 21:48:46 (GMT)
commit7bbab25961680eafabd13356c1cba747a41a3e37 (patch)
treed737e4ea466762941ee63ed22a78ee14048d3499 /Source/cmVisualStudio10TargetGenerator.cxx
parent8e6ad8ce72d9f00a98b6dc4fbe66037c1f1372de (diff)
downloadCMake-7bbab25961680eafabd13356c1cba747a41a3e37.zip
CMake-7bbab25961680eafabd13356c1cba747a41a3e37.tar.gz
CMake-7bbab25961680eafabd13356c1cba747a41a3e37.tar.bz2
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.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index ed017c7..4f64a2d 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -651,7 +651,7 @@ void cmVisualStudio10TargetGenerator::WriteObjSources()
void cmVisualStudio10TargetGenerator::WriteCLSources()
{
- if(this->Target->GetType() > cmTarget::MODULE_LIBRARY)
+ if(this->Target->GetType() > cmTarget::UTILITY)
{
return;
}