From 0b270afafc54314a46786332d2563b12e794a657 Mon Sep 17 00:00:00 2001 From: Ranjith Ramakrishnan Date: Tue, 24 May 2022 23:23:40 -0700 Subject: [PATCH] SWDEV-321112: Use GNUInstallDir variable DOCDIR Replaced install path 'share/doc/project_name' with gnuinstalldir variable CMAKE_INSTALL_DOCDIR Change-Id: Id9fc7599e6893a604f9d965b952ab27413e1c0d6 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b422f72..cbcf9d0 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -196,7 +196,7 @@ set( CPACK_RPM_PACKAGE_LICENSE "NCSA" ) set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Radeon Open Compute (ROCm) Runtime rocminfo tool") #Install license file -install(FILES ${CPACK_RESOURCE_FILE_LICENSE} DESTINATION share/doc/${CPACK_PACKAGE_NAME}) +install(FILES ${CPACK_RESOURCE_FILE_LICENSE} DESTINATION ${CMAKE_INSTALL_DOCDIR}) #Make proper version for appending #Default Value is 99999, setting it first