diff --git a/CMakeLists.txt b/CMakeLists.txt index 83c5cf7d..da8e8153 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -175,7 +175,7 @@ file( # Install cmake support files install( DIRECTORY cmake/ - DESTINATION "${PROJECT_CMAKE_EXTRAS_INSTALL_DIR}" + DESTINATION "${PROJECT_CMAKE_EXTRAS_RELATIVE_INSTALL_DIR}" ) #============================================================================ diff --git a/conf/CMakeLists.txt b/conf/CMakeLists.txt index 5bae2b3c..e2c4df6a 100644 --- a/conf/CMakeLists.txt +++ b/conf/CMakeLists.txt @@ -24,4 +24,4 @@ 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/) diff --git a/core/src/cmd/CMakeLists.txt b/core/src/cmd/CMakeLists.txt index 4d5f415c..dabee188 100644 --- a/core/src/cmd/CMakeLists.txt +++ b/core/src/cmd/CMakeLists.txt @@ -57,4 +57,4 @@ install( FILES ${CMAKE_CURRENT_BINARY_DIR}/msgs${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)