ENH: add no_system_path option to FindProgram so that the PATH is ignored

This commit is contained in:
Sebastien Barre
2002-05-12 11:32:29 -04:00
parent 1ad05f9e6d
commit ebebe660df
2 changed files with 8 additions and 3 deletions
+2 -1
View File
@@ -220,7 +220,8 @@ public:
///! 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>());
const std::vector<std::string>& path = std::vector<std::string>(),
bool no_system_path = false);
///! Find a library in the system PATH, with optional extra paths.
static std::string FindLibrary(const char* name,