diff options
-rw-r--r-- | Source/cmake.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 8865e10..36e53bb 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -2089,7 +2089,7 @@ void cmake::GenerateGraphViz(const char* fileName) if ( depIt->second == 1 ) { std::map<cmStdString, cmTarget*>::iterator tarTypeIt= targetPtrs.find(tgtName); - if ( tarTypeIt == targetNamesNodes.end() ) + if ( tarTypeIt == targetPtrs.end() ) { // We should not be here. std::cout << "Cannot find library: " << tgtName << " even though it was added in the previous pass" << std::endl; |