diff options
| author | Brad King <brad.king@kitware.com> | 2016-11-17 15:29:55 (GMT) |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2016-11-17 15:29:58 (GMT) |
| commit | 25b6e7b710d7739cca44ed19bf45a190e72a6b82 (patch) | |
| tree | 9699bdd712c12a0828a80ab6a01dfbb471c2ca53 /Tests/Module/WriteCompilerDetectionHeader/main.cpp | |
| parent | 0e9634d2c90fd748774f9238219cb1661550f233 (diff) | |
| download | CMake-25b6e7b710d7739cca44ed19bf45a190e72a6b82.zip CMake-25b6e7b710d7739cca44ed19bf45a190e72a6b82.tar.gz CMake-25b6e7b710d7739cca44ed19bf45a190e72a6b82.tar.bz2 | |
Tolerate removed/replaced CMakeCache.txt with old CMakeFiles/
Users or scripts commonly remove or replace `CMakeCache.txt` without
also removing `CMakeFiles/`. In this case the information saved in the
cache from platform information initialization is missing, so we need to
re-initialize it. In such a case, remove the platform information
directory so that re-initialization will occur and restore needed
information to the cache.
Closes: #14820
Diffstat (limited to 'Tests/Module/WriteCompilerDetectionHeader/main.cpp')
0 files changed, 0 insertions, 0 deletions
