diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2002-05-12 15:32:29 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2002-05-12 15:32:29 (GMT) |
commit | ebebe660dfb8751e801168e5a2e8efb2acf7854d (patch) | |
tree | 524dbfe77add679e5665603da96c1195121234f5 /Source/cmSystemTools.h | |
parent | 1ad05f9e6d423187b4426be6117820cb791e86ba (diff) | |
download | CMake-ebebe660dfb8751e801168e5a2e8efb2acf7854d.zip CMake-ebebe660dfb8751e801168e5a2e8efb2acf7854d.tar.gz CMake-ebebe660dfb8751e801168e5a2e8efb2acf7854d.tar.bz2 |
ENH: add no_system_path option to FindProgram so that the PATH is ignored
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 62d5568..df12513 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -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, |