aganea added a comment. In https://reviews.llvm.org/D51804#1227806, @zturner wrote: > Is this a bug in CMake? Maybe you should report it on their bug tracker. The issue have been fixed in CMake 3.12.2 Repository: rL LLVM https://reviews.llvm.org/D51804