message: Allow use custom package name
diff: @@ -614,6 +614,8 @@ if (ISPC_PREPARE_PACKAGE)
  set(CPACK_PACKAGE_VERSION_PATCH ${ISPC_VERSION_PATCH}${ISPC_VERSION_SUFFIX})
  set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.txt")
  set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/README.md")
  + # Allow use custom package name with -DISPC_PACKAGE_NAME
  + if (NOT ISPC_PACKAGE_NAME)
  if (${CPACK_PACKAGE_VERSION_PATCH} MATCHES ".*dev")
  string(CONCAT CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}"
  "-trunk"
  @@ -626,6 +628,10 @@ if (ISPC_PREPARE_PACKAGE)
  "-${ISPC_SYSTEM_NAME}")
  endif()
  + else()
  + set (CPACK_PACKAGE_FILE_NAME ${ISPC_PACKAGE_NAME})
  + endif()
  +
  if (WIN32)
  set(CPACK_PACKAGE_INSTALL_DIRECTORY "ISPC/${CPACK_PACKAGE_FILE_NAME}")
  endif()
  