diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-24 07:08:29 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-25 21:06:33 (GMT) |
commit | 7f551b4f2635816553c2ff7dacef78254875116e (patch) | |
tree | 4a903b0e6a49e36cbd47479891a67d3fbba05a1d /Source/cmGlobalGenerator.h | |
parent | cd6293cdf8cf04fca70497a2474989b773fe922e (diff) | |
download | CMake-7f551b4f2635816553c2ff7dacef78254875116e.zip CMake-7f551b4f2635816553c2ff7dacef78254875116e.tar.gz CMake-7f551b4f2635816553c2ff7dacef78254875116e.tar.bz2 |
cmGlobalGenerator: Implement VS6 check without virtual method.
Don't require existence of a global generator for this check.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r-- | Source/cmGlobalGenerator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index fe710f1..3403cf9 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -242,7 +242,7 @@ public: #if defined(_WIN32) && !defined(__CYGWIN__) /** Is this the Visual Studio 6 generator? */ - virtual bool IsForVS6() const { return false; } + bool IsForVS6() const { return this->GetName() == "Visual Studio 6"; } #endif ///! Find a target by name by searching the local generators. |