summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudioVersionedGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-06-17 07:30:48 -0400
committerBrad King <brad.king@kitware.com>2021-06-17 07:54:48 -0400
commit3fd65f5ca601d38c7b2ee8c99b148df31cea1acd (patch)
treee36f7bd076f484ca5148a383fbaf4aeec8d2d673 /Source/cmGlobalVisualStudioVersionedGenerator.h
parentc92595be1d7c0ae3cd4ea8ff0ce27ede37f676e8 (diff)
downloadcmake-3fd65f5ca601d38c7b2ee8c99b148df31cea1acd.tar.gz
VS: Compare VS instance versions as strings
This makes the values more readable.
Diffstat (limited to 'Source/cmGlobalVisualStudioVersionedGenerator.h')
-rw-r--r--Source/cmGlobalVisualStudioVersionedGenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudioVersionedGenerator.h b/Source/cmGlobalVisualStudioVersionedGenerator.h
index 105e4954bd..db4a0ba97a 100644
--- a/Source/cmGlobalVisualStudioVersionedGenerator.h
+++ b/Source/cmGlobalVisualStudioVersionedGenerator.h
@@ -28,7 +28,7 @@ public:
bool GetVSInstance(std::string& dir) const;
- cm::optional<unsigned long long> GetVSInstanceVersion() const override;
+ cm::optional<std::string> GetVSInstanceVersion() const override;
AuxToolset FindAuxToolset(std::string& version,
std::string& props) const override;