<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On 19 Jun 2015, at 0:51 , Pete Woods <<a href="mailto:pete.woods@canonical.com">pete.woods@canonical.com</a>> wrote:</div><br><blockquote type="cite"><div dir="ltr"><div>which says that since CMake 2.8.11 (old hat now) we should be doing the following:</div><div><br></div><div><div><font face="monospace, monospace">find_package(Qt5Core)<br></font></div><div><font face="monospace, monospace">// ... define my_target</font></div><div><font face="monospace, monospace">target_link_libraries(my_target</font></div><div><font face="monospace, monospace">  Qt5::Core</font></div><div><font face="monospace, monospace">  nonQtDep</font></div><div><font face="monospace, monospace">)</font><br></div></div><div><br></div><div>I, for one, think this will make mixed deps between Qt and non-Qt components much more readable in our CMake code.</div></div></blockquote><div><br></div>Nice one, thanks!</div><div><br></div><div>I just tried this and found that it also gets rid of a lots of policy 28 warnings.</div><div><br></div><div>Cheers,</div><div><br></div><div>Michi.</div></body></html>