mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-21 05:38:24 -05:00
8e2683cf6d
Previously the `find_program` call we used to locate the test executable but that can be broken by `CMAKE_FIND_ROOT_PATH_MODE_PROGRAM`. Instead teach the test project to write a file with the location of the executable it builds. Load that file to get the exact location. Fixes: #20390