rocm-cmake
rocm-cmake copied to clipboard
Use ${CMAKE_COMMAND} for running cmake from tests
Noticed this while working on #108.
The rocm-find-program-version
test was failing at my machine because the cmake version I was using to configure rocm-cmake was not the first in my PATH.
Unlikely but possible would be that no cmake is found on the path at all, which would also lead to this test failing.
Use ${CMAKE_COMMAND}
that holds the full path to cmake to fix it.
Let me know If you think I should add this to #108, I felt like it was a separate issue.