CMake/Tests/RunCMake/find_library
Brad King ce331bab92 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.
2014-12-08 15:35:50 -05:00
..
CMakeLists.txt find_library: Fix repeat call after changing directory content (#15293) 2014-12-08 15:35:50 -05:00
Created-stderr.txt find_library: Fix repeat call after changing directory content (#15293) 2014-12-08 15:35:50 -05:00
Created.cmake find_library: Fix repeat call after changing directory content (#15293) 2014-12-08 15:35:50 -05:00
RunCMakeTest.cmake find_library: Fix repeat call after changing directory content (#15293) 2014-12-08 15:35:50 -05:00