summaryrefslogtreecommitdiffstats
path: root/Source/cmFindProgramCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-09-01 17:54:33 (GMT)
committerBrad King <brad.king@kitware.com>2015-09-02 14:17:22 (GMT)
commitfc1990c93384d1d2122cd4e11398a8197b006504 (patch)
treef95835266920c36dafec7fa341e2656537ec98a3 /Source/cmFindProgramCommand.h
parentfdbfc9f6777696bdba60feafb9bb9a2f3fe02828 (diff)
downloadCMake-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.h1
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);