summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudioGenerator.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/cmGlobalVisualStudioGenerator.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/cmGlobalVisualStudioGenerator.cxx')
-rw-r--r--Source/cmGlobalVisualStudioGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.cxx b/Source/cmGlobalVisualStudioGenerator.cxx
index 04146fb..9817b09 100644
--- a/Source/cmGlobalVisualStudioGenerator.cxx
+++ b/Source/cmGlobalVisualStudioGenerator.cxx
@@ -92,7 +92,7 @@ void cmGlobalVisualStudioGenerator::AddExtraIDETargets()
//
// Organize in the "predefined targets" folder:
//
- if (this->UseFolderProperty() && this->GetVersion() > VS71)
+ if (this->UseFolderProperty())
{
allBuild->SetProperty("FOLDER", this->GetPredefinedTargetsFolder());
}