ce331bab92
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.
4 lines
99 B
CMake
4 lines
99 B
CMake
cmake_minimum_required(VERSION 3.1)
|
|
project(${RunCMake_TEST} NONE)
|
|
include(${RunCMake_TEST}.cmake)
|