diff options
author | Brad King <brad.king@kitware.com> | 2014-05-27 13:46:32 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-05-27 13:46:32 (GMT) |
commit | 03a3ee222b737a0e9d1678c7022c735b37d98fa5 (patch) | |
tree | a1dcd6cef8f17ab1c40523f1945c505ac89a4f17 /Source/cmMakefile.cxx | |
parent | e7b7f675f81db488ac9c1367d8f73e6aceefb7a9 (diff) | |
parent | d849800351a6ed91f3d6b149bb9e50aaa4c42a99 (diff) | |
download | CMake-03a3ee222b737a0e9d1678c7022c735b37d98fa5.zip CMake-03a3ee222b737a0e9d1678c7022c735b37d98fa5.tar.gz CMake-03a3ee222b737a0e9d1678c7022c735b37d98fa5.tar.bz2 |
Merge topic 'variable_watch-no-allowed-access'
d8498003 variable_watch: Remove undocumented and redundant access type
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 9f33b92..3abcd5d 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -2472,19 +2472,8 @@ const char* cmMakefile::GetDefinition(const std::string& name) const } else { - // are unknown access allowed - const char* allow = this->Internal->VarStack.top() - .Get("CMAKE_ALLOW_UNKNOWN_VARIABLE_READ_ACCESS"); - if(cmSystemTools::IsOn(allow)) - { - vv->VariableAccessed(name, - cmVariableWatch::ALLOWED_UNKNOWN_VARIABLE_READ_ACCESS, def, this); - } - else - { - vv->VariableAccessed(name, + vv->VariableAccessed(name, cmVariableWatch::UNKNOWN_VARIABLE_READ_ACCESS, def, this); - } } } #endif |