summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorSumit Bhardwaj <bhardwajs@outlook.com>2022-01-25 19:25:18 (GMT)
committerSumit Bhardwaj <bhardwajs@outlook.com>2022-01-25 19:25:18 (GMT)
commita88f98b3bea7822ad1c0f77e6f92e7277ced5ad9 (patch)
tree953d15a9838aa1031719a8eca6424f899a292dd5 /Source/cmGlobalVisualStudio7Generator.cxx
parent5f9ba8c6863b5357e9e3c23c7ac12e26e91aa9af (diff)
downloadCMake-a88f98b3bea7822ad1c0f77e6f92e7277ced5ad9.zip
CMake-a88f98b3bea7822ad1c0f77e6f92e7277ced5ad9.tar.gz
CMake-a88f98b3bea7822ad1c0f77e6f92e7277ced5ad9.tar.bz2
Make cmGlobalVisualStudioGenerator::VSVersion enum class
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio7Generator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx
index 91012dd..134937e 100644
--- a/Source/cmGlobalVisualStudio7Generator.cxx
+++ b/Source/cmGlobalVisualStudio7Generator.cxx
@@ -304,7 +304,8 @@ void cmGlobalVisualStudio7Generator::Generate()
GetSLNFile(this->LocalGenerators[0].get()));
}
- if (this->Version == VS10 && !this->CMakeInstance->GetIsInTryCompile()) {
+ if (this->Version == VSVersion::VS10 &&
+ !this->CMakeInstance->GetIsInTryCompile()) {
std::string cmakeWarnVS10;
if (cmValue cached = this->CMakeInstance->GetState()->GetCacheEntryValue(
"CMAKE_WARN_VS10")) {