diff options
author | Brad King <brad.king@kitware.com> | 2016-09-14 15:49:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-09-14 15:49:24 (GMT) |
commit | cc770e7670800819231ac428b75d8fc87a229116 (patch) | |
tree | 40f76bf2c20b0ae906d6014f284bbe63aec85590 /Source/cmake.h | |
parent | ea69e03afaeff76d2141ab4a330f3489297a3a41 (diff) | |
download | CMake-cc770e7670800819231ac428b75d8fc87a229116.zip CMake-cc770e7670800819231ac428b75d8fc87a229116.tar.gz CMake-cc770e7670800819231ac428b75d8fc87a229116.tar.bz2 |
cmake: Make FindCacheFile a static method
It does not need access to member data.
Diffstat (limited to 'Source/cmake.h')
-rw-r--r-- | Source/cmake.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.h b/Source/cmake.h index 30661d9..6095a59 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -194,7 +194,7 @@ public: } ///! Return the full path to where the CMakeCache.txt file should be. - std::string FindCacheFile(const std::string& binaryDir) const; + static std::string FindCacheFile(const std::string& binaryDir); ///! Return the global generator assigned to this instance of cmake void SetGlobalGenerator(cmGlobalGenerator*); |