ddf4edcafc
Instead of installing to lib or include, use CMAKE_INSTALL_LIBDIR and CMAKE_INSTALL_INCLUDEDIR to allow the builder to override if desired. The default LIBDIR should be "lib" to avoid breaking ROCm packaging, but using GNUInstallDirs would use lib64 on RHEL. By setting a default value prior to including GNUInstallDirs, we can always use "lib" unless the builder explicitly overrides it via "-DCMAKE_INSTALL_LIBDIR", which is typical in most distro scripts. Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com> Change-Id: I135f21bcfeb02b6849f6e8ca403b39c029a02d5c