summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio9Generator.cxx
diff options
context:
space:
mode:
authorPatrick Gansterer <paroga@paroga.com>2012-11-20 13:16:36 +0100
committerBrad King <brad.king@kitware.com>2012-11-27 08:31:18 -0500
commit038df9e49e6fcb54d6f6a1bcfb09f6a0e5ec0c2e (patch)
tree3ecef2f6d375a8966406742e666090a2b230823d /Source/cmGlobalVisualStudio9Generator.cxx
parent6fe4fcba787e4e27a4863faa28aa41ae11026d6b (diff)
downloadcmake-038df9e49e6fcb54d6f6a1bcfb09f6a0e5ec0c2e.tar.gz
VS: Allow setting the name of the target platform
Since the name for a target platform is independent of its cpu architecture an additional option is required to set it correctly.
Diffstat (limited to 'Source/cmGlobalVisualStudio9Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio9Generator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio9Generator.cxx b/Source/cmGlobalVisualStudio9Generator.cxx
index dbe093e4a9..2082384e6c 100644
--- a/Source/cmGlobalVisualStudio9Generator.cxx
+++ b/Source/cmGlobalVisualStudio9Generator.cxx
@@ -63,6 +63,7 @@ public:
cmGlobalVisualStudio9Generator* ret = new cmGlobalVisualStudio9Generator(
name, parser.GetArchitectureFamily(), NULL);
+ ret->PlatformName = p;
ret->WindowsCEVersion = parser.GetOSVersion();
return ret;
}