summaryrefslogtreecommitdiffstats
path: root/Source/cmState.h
diff options
context:
space:
mode:
authorTaylor Holberton <taylorcholberton@gmail.com>2019-01-29 02:06:38 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-30 15:47:24 (GMT)
commit198650ae7399cc086c49e58b0a9e03e9efb86235 (patch)
treea0e27ca7fe9bd39fac7545a299f16141016c4d80 /Source/cmState.h
parentd75fec5a88f81a8c16cdeab46766e92a14d1d3cf (diff)
downloadCMake-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.h2
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);