mirror of
https://github.com/openharmony/third_party_cmake.git
synced 2026-07-19 12:42:26 -04:00
bfb45ee489
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