From 95b8eeb73e5fe6e9b2d396322166b2f7e19c7c4f Mon Sep 17 00:00:00 2001 From: "Addisu Z. Taddese" Date: Tue, 2 Apr 2024 13:50:57 -0500 Subject: [PATCH] Use relative install path for gz tool data Signed-off-by: Addisu Z. Taddese --- loader/conf/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loader/conf/CMakeLists.txt b/loader/conf/CMakeLists.txt index 5d5cc2f..b533dcf 100644 --- a/loader/conf/CMakeLists.txt +++ b/loader/conf/CMakeLists.txt @@ -24,7 +24,7 @@ configure_file( # Install the yaml configuration files in an unversioned location. install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${GZ_DESIGNATION}${PROJECT_VERSION_MAJOR}.yaml - DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/gz/) + DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/gz/) # Tack version onto and install the bash completion script configure_file( @@ -34,4 +34,4 @@ install( FILES ${CMAKE_CURRENT_BINARY_DIR}/plugin${PROJECT_VERSION_MAJOR}.bash_completion.sh DESTINATION - ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/gz/gz${GZ_TOOLS_VER}.completion.d) + ${CMAKE_INSTALL_DATAROOTDIR}/gz/gz${GZ_TOOLS_VER}.completion.d)