mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03: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}/foo.cmake\n"
|
|
)
|