<div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Sat, Oct 6, 2018 at 10:58 AM Stephan Menzel <<a href="mailto:stephan.menzel@gmail.com">stephan.menzel@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div><br></div><div><div>protobuf_generate(TARGET my_protobuf_lib)</div></div></div><div><br></div></div></div></div></div></div></div></div></div></div></div></blockquote><div><br></div><div>Well, it seems like this was the culprit all along. There is a bug in protobuf's usage of the add_custom_command. Appears this is known and fixed by:</div><div><a href="https://github.com/protocolbuffers/protobuf/commit/411018e3fb6ca5d7610ee48139ecaef1033746e3">https://github.com/protocolbuffers/protobuf/commit/411018e3fb6ca5d7610ee48139ecaef1033746e3</a><br></div><div><br></div><div>but apparently not in their latest release tag version 3.6.1. Seems like it's been there for ages, which makes me wonder how this could have gone unnoticed for so long.</div><div><br></div><div>Anyway, fixing this locally in my installed cmake scripts fixes the problem. Above command workes nicely now. So it didn't have anything to do with auto-uic being broken. Onto the next one!</div><div><br></div><div>Cheers,</div><div>Stephan</div><div><br></div><div><br></div></div></div></div>