mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 05:16:58 +00:00
If the path to the toolchain file changes then anything in the cache that's derived from the toolchain may need to be recomputed. Detect this case and start a fresh build. Issue: #27867 Signed-off-by: Aiden Woodruff <aiden.woodruff@kitware.com>
5 lines
98 B
CMake
5 lines
98 B
CMake
file(WRITE
|
|
"${RunCMake_TEST_BINARY_DIR}/toolchain.txt"
|
|
"${RunCMake_BINARY_DIR}/bar.cmake\n"
|
|
)
|