Andreas Schneider [1] that is aware of Fedora community work on packaging ROCm stack,
showed me his pending pull request [2] that
"cleans up cmake so that the library can be correctly packaged for distributions. It
also cleans up cmake as there are several things which should not be done in cmake."
You may want to give a look to it.
Best regards
[1]:
https://github.com/cryptomilk
[2]:
https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/pull/25