diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-11 10:12:14 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-04-12 18:08:48 (GMT) |
commit | 14c70b8c580c519ca38bcd9ba5ca8fc9e7629068 (patch) | |
tree | b75b10b3f5b2c2b338ded097f3094bb8baea9eb9 /Source/cmake.h | |
parent | 6ed19e615bada326c38a2b27d9378959503094ae (diff) | |
download | CMake-14c70b8c580c519ca38bcd9ba5ca8fc9e7629068.zip CMake-14c70b8c580c519ca38bcd9ba5ca8fc9e7629068.tar.gz CMake-14c70b8c580c519ca38bcd9ba5ca8fc9e7629068.tar.bz2 |
cmake: out-of-line try compile state methods.
Diffstat (limited to 'Source/cmake.h')
-rw-r--r-- | Source/cmake.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmake.h b/Source/cmake.h index 0c3de65..a9f791d 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -257,10 +257,8 @@ class cmake bool directoriesSetBefore = false); ///! Is this cmake running as a result of a TRY_COMPILE command - bool GetIsInTryCompile() { return this->InTryCompile; } - - ///! Is this cmake running as a result of a TRY_COMPILE command - void SetIsInTryCompile(bool i) { this->InTryCompile = i; } + bool GetIsInTryCompile() const; + void SetIsInTryCompile(bool b); ///! Parse command line arguments that might set cache values bool SetCacheArgs(const std::vector<std::string>&); |