summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorFujii Hironori <fujii.hironori@gmail.com>2018-03-23 06:44:40 (GMT)
committerFujii Hironori <fujii.hironori@gmail.com>2018-04-17 02:03:17 (GMT)
commitd58d4daa6b2e36c6e2318e4d67271542dca79ee6 (patch)
tree0c9142e12e91dff271668752c90639495b473bca /Source/cmVisualStudio10TargetGenerator.cxx
parentccd17a557cbf8ada18207a72eea78d2adcc9d752 (diff)
downloadCMake-d58d4daa6b2e36c6e2318e4d67271542dca79ee6.zip
CMake-d58d4daa6b2e36c6e2318e4d67271542dca79ee6.tar.gz
CMake-d58d4daa6b2e36c6e2318e4d67271542dca79ee6.tar.bz2
cmVisualStudio10TargetGenerator: Use cmLocalVisualStudio10Generator
Change the type of a member variable `LocalGenerator` from `cmLocalVisualStudio7Generator` to `cmLocalVisualStudio10Generator`.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index cabe89f..625cb83 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -8,7 +8,7 @@
#include "cmGeneratedFileStream.h"
#include "cmGeneratorTarget.h"
#include "cmGlobalVisualStudio10Generator.h"
-#include "cmLocalVisualStudio7Generator.h"
+#include "cmLocalVisualStudio10Generator.h"
#include "cmMakefile.h"
#include "cmSourceFile.h"
#include "cmSystemTools.h"
@@ -204,7 +204,8 @@ cmVisualStudio10TargetGenerator::cmVisualStudio10TargetGenerator(
, Name(target->GetName())
, GUID(gg->GetGUID(this->Name))
, GlobalGenerator(gg)
- , LocalGenerator((cmLocalVisualStudio7Generator*)target->GetLocalGenerator())
+ , LocalGenerator(
+ (cmLocalVisualStudio10Generator*)target->GetLocalGenerator())
{
this->Makefile->GetConfigurations(this->Configurations);
this->NsightTegra = gg->IsNsightTegra();