<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Dec 12, 2013 at 11:20 AM, Williams, Norman K <span dir="ltr">&lt;<a href="mailto:norman-k-williams@uiowa.edu" target="_blank">norman-k-williams@uiowa.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">This is a case for ExternalProjects.<br>
<a href="http://www.kitware.com/media/html/BuildingExternalProjectsWithCMake2.8.html" target="_blank">http://www.kitware.com/media/html/BuildingExternalProjectsWithCMake2.8.html</a></blockquote><div><br></div><div>I&#39;ve read that before but didn&#39;t find anything new there. I also tried checking the state of BOOTSTRAP_WXWIDGETS and the target separately and both individually seem to test correctly.</div>
<div><br></div><div>It seems the problem is:<br><span style="font-family:arial,sans-serif;font-size:13px">if(BOOTSTRAP_WXWIDGETS AND NOT TARGET wxWidgets)</span><br></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><font face="arial, sans-serif">though I don&#39;t see anything semantically wrong with it.</font></div><div> </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Also search for &#39;cmake superbuild&#39; for discussion of how people are using<br>
external projects.<br>
<br>
An example build setup for prerequisites/projects here:<br>
<a href="https://github.com/BRAINSia/NamicExternalProjects" target="_blank">https://github.com/BRAINSia/NamicExternalProjects<br></a></blockquote><div><br></div><div>Very interesting but not quite what I&#39;m looking for, in this case the main CMakeLists.txt does actually build a project, I just need it to build wxWidgets first.</div>
<div><br></div><div>Thanks,</div><div>Richard </div></div><br></div></div>