1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
From: Cordell Bloor <cgmb@slerp.xyz>
Date: Sun, 12 Feb 2023 01:15:13 -0700
Subject: install cmake config to share
The ROCM_INSTALL_LIBDIR is only used for determining the install
location of the exported cmake config files. This change places those
files in /usr/share, which is more consistent with other header-only
libraries, such as libcub-dev.
---
cmake/ROCMExportTargetsHeaderOnly.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/ROCMExportTargetsHeaderOnly.cmake b/cmake/ROCMExportTargetsHeaderOnly.cmake
index 3f7d814..2c8088d 100644
--- a/cmake/ROCMExportTargetsHeaderOnly.cmake
+++ b/cmake/ROCMExportTargetsHeaderOnly.cmake
@@ -29,7 +29,7 @@ include(GNUInstallDirs)
include(ROCMPackageConfigHelpers)
include(ROCMInstallTargets)
-set(ROCM_INSTALL_LIBDIR lib)
+set(ROCM_INSTALL_LIBDIR share)
function(rocm_write_package_template_function_if FILENAME NAME CHECK_VARIABLE)
string(REPLACE ";" " " ARGS "${ARGN}")
|