45f1f89a97
This is attempt two ofa5b6de5037GNUInstallDirs is used to allow the user to customize the install paths of HIP, rather than using hardcoded locations. See documentation for more information: https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html Note that libdir must be overriden to "lib" before including GNUInstallDirs, because by default, cmake tries to detect the libdir path, but ROCm packaging would like to use lib by default for all targets. This does not stop the user (or distros) from overriding. Also note this change does no take into account the changes needed to non-cmake files, such as perl scripts, so not all paths combinations are necessarily functional. Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com> Change-Id: I521c44dc34404b136141682c2777257b23ffa6e8 [ROCm/clr commit:112b6370a5]