diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 9f99266733..677d96fcb5 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -410,7 +410,7 @@ void cmTarget::SetMakefile(cmMakefile* mf) void -cmTarget::checkForTargetsAsCommand(const std::vector& commands) +cmTarget::CheckForTargetsAsCommand(const std::vector& commands) { for ( std::vector::const_iterator cli = commands.begin(); cli != commands.end(); @@ -529,10 +529,10 @@ void cmTarget::TraceVSDependencies(std::string projFile, } } } - - checkForTargetsAsCommand(this->GetPreBuildCommands()); - checkForTargetsAsCommand(this->GetPreLinkCommands()); - checkForTargetsAsCommand(this->GetPostBuildCommands()); + + CheckForTargetsAsCommand(this->GetPreBuildCommands()); + CheckForTargetsAsCommand(this->GetPreLinkCommands()); + CheckForTargetsAsCommand(this->GetPostBuildCommands()); while (!srcFilesToProcess.empty()) { diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 215d879be9..aa2d4db9e3 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -295,7 +295,7 @@ private: * Checks the prebuild, prelink and postbuild custom commands for known * targets and adds them to the dependencies. */ - void checkForTargetsAsCommand(const std::vector& commands); + void CheckForTargetsAsCommand(const std::vector& commands); /**