diff options
author | Brad King <brad.king@kitware.com> | 2015-09-01 17:54:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-09-02 14:17:22 (GMT) |
commit | fc1990c93384d1d2122cd4e11398a8197b006504 (patch) | |
tree | f95835266920c36dafec7fa341e2656537ec98a3 /Source/cmFindProgramCommand.h | |
parent | fdbfc9f6777696bdba60feafb9bb9a2f3fe02828 (diff) | |
download | CMake-fc1990c93384d1d2122cd4e11398a8197b006504.zip CMake-fc1990c93384d1d2122cd4e11398a8197b006504.tar.gz CMake-fc1990c93384d1d2122cd4e11398a8197b006504.tar.bz2 |
cmFindProgramCommand: Re-implement search using more flexible approach
Avoid using KWSys SystemTools::FindProgram because it does much more
than we actually need for find_program and does not allow us to control
the order of preference between directories and names. Create our own
cmFindProgramHelper much like cmFindLibraryHelper but without all the
find_library-specific parts.
Diffstat (limited to 'Source/cmFindProgramCommand.h')
-rw-r--r-- | Source/cmFindProgramCommand.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmFindProgramCommand.h b/Source/cmFindProgramCommand.h index 2881aac..df39b14 100644 --- a/Source/cmFindProgramCommand.h +++ b/Source/cmFindProgramCommand.h @@ -54,6 +54,7 @@ public: private: std::string FindProgram(); + std::string FindNormalProgram(); std::string FindAppBundle(); std::string GetBundleExecutable(std::string bundlePath); |