diff options
author | William R. Dieter <william.r.dieter@intel.com> | 2022-01-13 17:18:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-01-14 18:15:09 (GMT) |
commit | b916860a488bedca1baa3e88538a047333d846f5 (patch) | |
tree | e36d94f60a5981802f596bc27ba1736d844693f8 /Help/guide/tutorial/Step10/MathFunctions/MathFunctions.cxx | |
parent | 4da4e31db2aa3898346caaadec222881e803865b (diff) | |
download | CMake-b916860a488bedca1baa3e88538a047333d846f5.zip CMake-b916860a488bedca1baa3e88538a047333d846f5.tar.gz CMake-b916860a488bedca1baa3e88538a047333d846f5.tar.bz2 |
Tests: Avoid interference from environment in RunCMake.find_library
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>
Diffstat (limited to 'Help/guide/tutorial/Step10/MathFunctions/MathFunctions.cxx')
0 files changed, 0 insertions, 0 deletions