diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-12-10 17:08:55 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-12-10 17:08:55 (GMT) |
commit | 33c891f8d8e43dcd4e16b81861d29fc3b198819e (patch) | |
tree | 2b3ecc182ae0d4dc7c5bbf7d46aa70d24a81a6e9 /Source/kwsys/SystemTools.hxx.in | |
parent | 9c64a178459a735ddcf7eca873a6ce1587875ddd (diff) | |
download | CMake-33c891f8d8e43dcd4e16b81861d29fc3b198819e.zip CMake-33c891f8d8e43dcd4e16b81861d29fc3b198819e.tar.gz CMake-33c891f8d8e43dcd4e16b81861d29fc3b198819e.tar.bz2 |
ENH: Add another signature to FindProgram that matches more to the one from CMake
Diffstat (limited to 'Source/kwsys/SystemTools.hxx.in')
-rw-r--r-- | Source/kwsys/SystemTools.hxx.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/kwsys/SystemTools.hxx.in b/Source/kwsys/SystemTools.hxx.in index 39b5234..bdc327b 100644 --- a/Source/kwsys/SystemTools.hxx.in +++ b/Source/kwsys/SystemTools.hxx.in @@ -493,6 +493,11 @@ public: const kwsys_stl::vector<kwsys_stl::string>& path = kwsys_stl::vector<kwsys_stl::string>(), bool no_system_path = false); + static kwsys_stl::string FindProgram( + const kwsys_stl::vector<kwsys_stl::string>& names, + const kwsys_stl::vector<kwsys_stl::string>& path = + kwsys_stl::vector<kwsys_stl::string>(), + bool no_system_path = false); /** * Find a library in the system PATH, with optional extra paths |