summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio11Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-04-26 12:22:27 (GMT)
committerBrad King <brad.king@kitware.com>2016-04-26 12:22:27 (GMT)
commit571bedec2970df42b9f3666e17728a7511d32b47 (patch)
treecff7b688e48020aa33d7a649be48938661c03372 /Source/cmGlobalVisualStudio11Generator.cxx
parent0c58d2d0fdc518e12e6aa5a15012437c573a910c (diff)
downloadCMake-571bedec2970df42b9f3666e17728a7511d32b47.zip
CMake-571bedec2970df42b9f3666e17728a7511d32b47.tar.gz
CMake-571bedec2970df42b9f3666e17728a7511d32b47.tar.bz2
VS: Ignore USE_FOLDER property on VS versions that do not support it
Solution folders are supported on VS 8 and above in the full versions and on VS 11 and above in the express versions.
Diffstat (limited to 'Source/cmGlobalVisualStudio11Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio11Generator.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmGlobalVisualStudio11Generator.cxx b/Source/cmGlobalVisualStudio11Generator.cxx
index 9522f6e..9b00357 100644
--- a/Source/cmGlobalVisualStudio11Generator.cxx
+++ b/Source/cmGlobalVisualStudio11Generator.cxx
@@ -239,10 +239,10 @@ void cmGlobalVisualStudio11Generator::WriteSLNHeader(std::ostream& fout)
//----------------------------------------------------------------------------
bool cmGlobalVisualStudio11Generator::UseFolderProperty()
{
- // Intentionally skip over the parent class implementation and call the
- // grand-parent class's implementation. Folders are not supported by the
- // Express editions in VS10 and earlier, but they are in VS11 Express.
- return cmGlobalVisualStudio8Generator::UseFolderProperty();
+ // Intentionally skip up to the top-level class implementation.
+ // Folders are not supported by the Express editions in VS10 and earlier,
+ // but they are in VS11 Express and above.
+ return cmGlobalGenerator::UseFolderProperty();
}
//----------------------------------------------------------------------------