summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index f6b4356..c7c44af 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -205,6 +205,10 @@ public:
*/
static bool IsOff(const char* val);
+ ///! Find a file in the system PATH, with optional extra paths.
+ static std::string FindFile(const char* name,
+ const std::vector<std::string>& path= std::vector<std::string>());
+
///! Find an executable in the system PATH, with optional extra paths.
static std::string FindProgram(const char* name,
const std::vector<std::string>& path= std::vector<std::string>());