Automatic crystal orientation determination and orientation mapping are important tools for research on polycrystalline materials. The most common methods of automatic orientation determination rely on detecting and indexing individual diffraction reflections, but these methods have not been used for orientation mapping of quasicrystalline materials. The paper describes the necessary changes to existing software designed for orientation determination of periodic crystals so that it can be applied to quasicrystals. The changes are implemented in one such program. The functioning of the modified program is illustrated by an example orientation map of an icosahedral polycrystal.