summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/find_program/RelAndAbsPath-stdout.txt
Commit message (Collapse)AuthorAgeFilesLines
* Find: Provide global controls for the `NO_[]_PATH` call optionsRobert Maynard2019-06-211-0/+2
|
* find_program: Consider CWD only for paths with separatorSam Yates2018-06-141-0/+6
find_program() incorrectly prepended search path components to absolute file paths, and incorrectly searched the current working directory for files that contained no directory separators. * Replace calls cmFindProgramHelper::CheckDirectory(std::string()) with call of new method cmFindProgramHelper::CheckCompoundNames() that checks for the presence of a directory separator in the file name. * Use cmSystemTools::CollapseCombinedPath rather than string concatenation to properly combine absolute file names with search path components. * Add unit tests to verify corrections. Fixes: #18044