Merge topic 'test-symlinks-with-ccache' into release-3.24

d3ac4e8246 Tests: Teach RunCMake.SymlinkTrees to tolerate CCACHE_BASEDIR

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7622
This commit is contained in:
Brad King
2022-08-31 13:38:29 +00:00
committed by Kitware Robot
@@ -1,5 +1,8 @@
include(RunCMake)
# Do not let ccache modify paths checked by the test cases.
unset(ENV{CCACHE_BASEDIR})
function(run_symlink_test_case)
file(REMOVE_RECURSE
"${RunCMake_TEST_BINARY_DIR}/CMakeCache.txt"