Andreas Schneider  that is aware of Fedora community work on packaging ROCm stack,
showed me his pending pull request  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.