diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx index 54209c5ce9..a7777d9a7e 100644 --- a/Source/cmCacheManager.cxx +++ b/Source/cmCacheManager.cxx @@ -13,7 +13,6 @@ #include "cmCacheManager.h" #include "cmSystemTools.h" #include "cmGeneratedFileStream.h" -#include "cmMakefile.h" #include "cmake.h" #include "cmVersion.h" diff --git a/Source/cmCacheManager.h b/Source/cmCacheManager.h index 8462259784..b779ba37b5 100644 --- a/Source/cmCacheManager.h +++ b/Source/cmCacheManager.h @@ -16,7 +16,6 @@ #include "cmPropertyMap.h" #include "cmState.h" -class cmMakefile; class cmMarkAsAdvancedCommand; class cmake; @@ -241,7 +240,7 @@ private: void WritePropertyEntries(std::ostream& os, CacheIterator const& i); CacheEntryMap Cache; - // Only cmake and cmMakefile should be able to add cache values + // Only cmake and cmState should be able to add cache values // the commands should never use the cmCacheManager directly friend class cmState; // allow access to add cache values friend class cmake; // allow access to add cache values