diff options
author | Taylor Holberton <taylorcholberton@gmail.com> | 2019-01-29 02:06:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-30 15:47:24 (GMT) |
commit | 198650ae7399cc086c49e58b0a9e03e9efb86235 (patch) | |
tree | a0e27ca7fe9bd39fac7545a299f16141016c4d80 /Source/cmState.h | |
parent | d75fec5a88f81a8c16cdeab46766e92a14d1d3cf (diff) | |
download | CMake-198650ae7399cc086c49e58b0a9e03e9efb86235.zip CMake-198650ae7399cc086c49e58b0a9e03e9efb86235.tar.gz CMake-198650ae7399cc086c49e58b0a9e03e9efb86235.tar.bz2 |
set: warn if CACHE type is not recognized
Diffstat (limited to 'Source/cmState.h')
-rw-r--r-- | Source/cmState.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmState.h b/Source/cmState.h index e447485..f755f83 100644 --- a/Source/cmState.h +++ b/Source/cmState.h @@ -65,6 +65,8 @@ public: cmStateSnapshot Pop(cmStateSnapshot const& originSnapshot); static cmStateEnums::CacheEntryType StringToCacheEntryType(const char*); + static bool StringToCacheEntryType(const char*, + cmStateEnums::CacheEntryType& type); static const char* CacheEntryTypeToString(cmStateEnums::CacheEntryType); static bool IsCacheEntryType(std::string const& key); |