|
@@ -145,8 +145,10 @@ public:
|
|
|
const char* GetCacheValue(const char* key) const;
|
|
|
|
|
|
/** Get the version of CMake that wrote the cache. */
|
|
|
- unsigned int GetCacheMajorVersion() { return this->CacheMajorVersion; }
|
|
|
- unsigned int GetCacheMinorVersion() { return this->CacheMinorVersion; }
|
|
|
+ unsigned int GetCacheMajorVersion() const
|
|
|
+ { return this->CacheMajorVersion; }
|
|
|
+ unsigned int GetCacheMinorVersion() const
|
|
|
+ { return this->CacheMinorVersion; }
|
|
|
bool NeedCacheCompatibility(int major, int minor);
|
|
|
|
|
|
protected:
|