etcwilde wrote: For folks landing here, this should be fixed in CMake 4.1 by policy [CMP0187](https://gitlab.kitware.com/cmake/cmake/-/merge_requests/10271). https://github.com/llvm/llvm-project/pull/95979