summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/find_library/FromPATHEnv.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Avoid interference from environment in RunCMake.find_libraryWilliam R. Dieter2022-01-141-0/+3
| | | | | | | | | | | | | Clear $ENV{CMAKE_PREFIX_PATH} in several RunCMake.find_library tests because on Windows, a CMAKE_PREFIX_PATH with two consecutive semicolons causes a library to be found when it should not be. None of the updated tests expect CMAKE_PREFIX_PATH from the environment to influence the test, so clear the variable entirely to guarantee it will not affect the test. Fixes: #23111 Signed-off-by: William R. Dieter <william.r.dieter@intel.com>
* find_*: Use debug logging infrastructureRobert Maynard2019-12-191-0/+13
| | | | | | Teach the find_package, find_library, find_program, find_path, and find_file commands to print debug log messages when enabled by the `--debug-find` command-line option or `CMAKE_FIND_DEBUG_MODE` variable.
* Find: Provide global controls for the `NO_[]_PATH` call optionsRobert Maynard2019-06-211-0/+22