summaryrefslogtreecommitdiffstats
path: root/CTestCustom.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-12-08 20:12:51 (GMT)
committerBrad King <brad.king@kitware.com>2014-12-08 20:35:50 (GMT)
commitce331bab929c5a38e048ba15d7393dcf96fad9e1 (patch)
tree21357d2d12d5b425b596bca81cbd70e91b912ba0 /CTestCustom.cmake.in
parent09498b2ead29a64816e5c301b7465164cec25c1c (diff)
downloadCMake-ce331bab929c5a38e048ba15d7393dcf96fad9e1.zip
CMake-ce331bab929c5a38e048ba15d7393dcf96fad9e1.tar.gz
CMake-ce331bab929c5a38e048ba15d7393dcf96fad9e1.tar.bz2
find_library: Fix repeat call after changing directory content (#15293)
We use cmGlobalGenerator::GetDirectoryContent to avoid repeating directory listings. However, GetDirectoryContent loads content from disk at most once. This breaks find_library calls that occur when disk content has changed since preceding find_library calls. Teach cmGlobalGenerator::GetDirectoryContent to save the directory modification time when content is loaded and re-load content if it changes. Create a RunCMake.find_library test with a case covering this.
Diffstat (limited to 'CTestCustom.cmake.in')
0 files changed, 0 insertions, 0 deletions