summaryrefslogtreecommitdiffstats
path: root/Source/cmCoreTryCompile.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-04-13 15:45:02 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-04-13 15:45:02 (GMT)
commit62c5e6f1a19df0043a0e9aaba6cf7247f76a5cc3 (patch)
tree8ca950377efbfd2cf90c7fe61eb7ff566a121d5e /Source/cmCoreTryCompile.cxx
parent92d61798937e42ecb7ae3d1be8b2b4ab7ce15fcb (diff)
parentf081c5bdddcfcaaf5bee7b918fe5c7ff01faae35 (diff)
downloadCMake-62c5e6f1a19df0043a0e9aaba6cf7247f76a5cc3.zip
CMake-62c5e6f1a19df0043a0e9aaba6cf7247f76a5cc3.tar.gz
CMake-62c5e6f1a19df0043a0e9aaba6cf7247f76a5cc3.tar.bz2
Merge topic 'introduce-cmState'
f081c5bd cmState: Move CacheEntryType enum from cmCacheManager. f71fdf0e cmMakefile: Remove unused CacheManager accessor. ff7169a0 Port to cmState. a6b1ad13 Introduce cmState class.
Diffstat (limited to 'Source/cmCoreTryCompile.cxx')
-rw-r--r--Source/cmCoreTryCompile.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmCoreTryCompile.cxx b/Source/cmCoreTryCompile.cxx
index 59efa52..56a884c 100644
--- a/Source/cmCoreTryCompile.cxx
+++ b/Source/cmCoreTryCompile.cxx
@@ -11,7 +11,6 @@
============================================================================*/
#include "cmCoreTryCompile.h"
#include "cmake.h"
-#include "cmCacheManager.h"
#include "cmLocalGenerator.h"
#include "cmGlobalGenerator.h"
#include "cmAlgorithms.h"
@@ -527,7 +526,7 @@ int cmCoreTryCompile::TryCompileCode(std::vector<std::string> const& argv)
this->Makefile->AddCacheDefinition(argv[0],
(res == 0 ? "TRUE" : "FALSE"),
"Result of TRY_COMPILE",
- cmCacheManager::INTERNAL);
+ cmState::INTERNAL);
if (!outputVariable.empty())
{