Cherry-pick from upstream master. This is needed to avoid complaints from cmake-3.9.0-8.fc25.x86_64.
cmake-3.9.0-8.fc25.x86_64