diff options
Diffstat (limited to 'Source/cmFindPathCommand.h')
-rw-r--r-- | Source/cmFindPathCommand.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/Source/cmFindPathCommand.h b/Source/cmFindPathCommand.h index a51da79..e14626a 100644 --- a/Source/cmFindPathCommand.h +++ b/Source/cmFindPathCommand.h @@ -14,7 +14,6 @@ #include "cmFindBase.h" - /** \class cmFindPathCommand * \brief Define a command to search for a library. * @@ -29,17 +28,14 @@ public: /** * This is a virtual constructor for the command. */ - virtual cmCommand* Clone() - { - return new cmFindPathCommand; - } + virtual cmCommand* Clone() { return new cmFindPathCommand; } /** * This is called when the command is first encountered in * the CMakeLists.txt file. */ virtual bool InitialPass(std::vector<std::string> const& args, - cmExecutionStatus &status); + cmExecutionStatus& status); /** * This determines if the command is invoked when in script mode. @@ -49,10 +45,11 @@ public: /** * The name of the command as specified in CMakeList.txt. */ - virtual std::string GetName() const {return "find_path";} + virtual std::string GetName() const { return "find_path"; } cmTypeMacro(cmFindPathCommand, cmFindBase); bool IncludeFileInPath; + private: std::string FindHeaderInFramework(std::string const& file, std::string const& dir); @@ -61,6 +58,4 @@ private: std::string FindFrameworkHeader(); }; - - #endif |