summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio10Generator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-11-18 20:50:29 (GMT)
committerBrad King <brad.king@kitware.com>2009-11-18 20:50:29 (GMT)
commitc7b0dbb3fcd3c94b89dcc3764034e4da747cd7b2 (patch)
tree9eebc8bb3dafe02b6d27e2e72f1958c10f1bf187 /Source/cmGlobalVisualStudio10Generator.h
parent8cb1f4b0a4c1acba3ce9c0b1ee981facf655f216 (diff)
downloadCMake-c7b0dbb3fcd3c94b89dcc3764034e4da747cd7b2.zip
CMake-c7b0dbb3fcd3c94b89dcc3764034e4da747cd7b2.tar.gz
CMake-c7b0dbb3fcd3c94b89dcc3764034e4da747cd7b2.tar.bz2
Fix VS 10 value of CMAKE_CFG_INTDIR
VS 10 provides $(Configuration) and $(ConfigurationName) but only the former is documented so we prefer it. This also makes CMAKE_CFG_INTDIR consistent with its documentation. See issue #9916.
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio10Generator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.h b/Source/cmGlobalVisualStudio10Generator.h
index 9e4e474..219c36e 100644
--- a/Source/cmGlobalVisualStudio10Generator.h
+++ b/Source/cmGlobalVisualStudio10Generator.h
@@ -67,7 +67,7 @@ public:
*/
virtual std::string GetUserMacrosRegKeyBase();
virtual const char* GetCMakeCFGInitDirectory()
- { return "$(ConfigurationName)";}
+ { return "$(Configuration)";}
protected:
virtual const char* GetIDEVersion() { return "10.0"; }
};