diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2011-01-06 16:48:46 -0500 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2011-01-06 16:48:46 -0500 |
commit | 7bbab25961680eafabd13356c1cba747a41a3e37 (patch) | |
tree | d737e4ea466762941ee63ed22a78ee14048d3499 | |
parent | 8e6ad8ce72d9f00a98b6dc4fbe66037c1f1372de (diff) | |
download | cmake-7bbab25961680eafabd13356c1cba747a41a3e37.tar.gz |
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.
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index ed017c7d63..4f64a2de7f 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; } |