rocm-cmake icon indicating copy to clipboard operation
rocm-cmake copied to clipboard

Use ${CMAKE_COMMAND} for running cmake from tests

Open Maetveis opened this issue 2 years ago • 0 comments

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.

Maetveis avatar Aug 19 '22 07:08 Maetveis