This needs to be fixed upstream in CMake...