mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 22:31:18 -05:00
ENH: add no_system_path option to FindProgram so that the PATH is ignored
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user