message: Updating the client package installation path to ROCm path
diff: @@ -29,9 +29,13 @@ cmake_minimum_required( VERSION 3.5 )
  if( WIN32 )
  set( CMAKE_INSTALL_PREFIX "${PROJECT_BINARY_DIR}/package" CACHE PATH
  "Install path prefix, prepended onto install directories" )
  + set( CPACK_PACKAGING_INSTALL_PREFIX "${PROJECT_BINARY_DIR}/package" CACHE PATH
  + "Install path prefix, prepended onto install directories" )
  else( )
  set( CMAKE_INSTALL_PREFIX "/opt/rocm" CACHE PATH
  "Install path prefix, prepended onto install directories" )
  + set( CPACK_PACKAGING_INSTALL_PREFIX "/opt/rocm" CACHE PATH
  + "Install path prefix, prepended onto install directories" )
  endif( )
  # This has to be initialized before the project() command appears
  @@ -114,17 +118,17 @@ function(rocm_create_package_clients)
  file(REMOVE_RECURSE "${PROJECT_BINARY_DIR}/package")
  endif()
  file(MAKE_DIRECTORY
  - "${PROJECT_BINARY_DIR}/package/opt/rocm/${PARSE_LIB_NAME}/clients")
  + "${PROJECT_BINARY_DIR}/package/${CPACK_PACKAGING_INSTALL_PREFIX}/${PARSE_LIB_NAME}/clients")
  file(WRITE
  "${PROJECT_BINARY_DIR}/package/DEBIAN/control"
  ${DEB_CONTROL_FILE_CONTENT})
  add_custom_target(package_clients
  COMMAND ${CMAKE_COMMAND} -E remove
  - -f "${PROJECT_BINARY_DIR}/package/opt/rocm/${PARSE_LIB_NAME}/clients/*"
  + -f "${PROJECT_BINARY_DIR}/package/${CPACK_PACKAGING_INSTALL_PREFIX}/${PARSE_LIB_NAME}/clients/*"
  COMMAND ${CMAKE_COMMAND} -E copy
  "${PROJECT_BINARY_DIR}/staging/*"
  - "${PROJECT_BINARY_DIR}/package/opt/rocm/${PARSE_LIB_NAME}/clients"
  + "${PROJECT_BINARY_DIR}/package/${CPACK_PACKAGING_INSTALL_PREFIX}/${PARSE_LIB_NAME}/clients"
  COMMAND dpkg -b "${PROJECT_BINARY_DIR}/package/" ${PACKAGE_NAME})
  endfunction(rocm_create_package_clients)
  