The present invention relates to a compound having a RET kinase inhibitory action or a pharmaceutically acceptable salt thereof, which is useful in the treatment of diseases such as cancer. In particular, a compound represented by the following general formula (I) or a pharmaceutically acceptable salt thereof. [Selection figure] None【課題】 本発明は、疾病、例えばがん、の治療において有用な、RETキナーゼ阻害作用を有する化合物又はその薬学的に許容される塩に関する。特に、下記の一般式(I)によって表される化合物又はその薬学的に許容される塩。【選択図】なし