<div dir="ltr">Shouldn't we  be able to accomplish the same same thing with just the <span class="m_-6485465644778955627gmail-im">CMAKE_USE_SYSTEM_FOO variable as a cache entry?  I ran into this when trying to build CMake master and I want to use all system libraries but librhash.  Given the current implementation, there's a number of configurations that cause no way to actually set this with the user-facing option.  Typically I'd do -DCMAKE_USE_SYSTEM_LIBRARIES=<wbr>ON -DCMAKE_USE_SYSTEM_LIBRHASH=<wbr>OFF but the user-facing option has no meaning because internally the </span><span class="m_-6485465644778955627gmail-im"><span class="m_-6485465644778955627gmail-im">CMAKE_USE_SYSTEM_</span>LIBRARY_RHASH variable, initialized by  </span><br><span class="m_-6485465644778955627gmail-im">CMAKE_USE_SYSTEM_LIBRARIES force overrides anything I try to set for it.<br></span><div class="gmail_extra"><br clear="all"><div><div class="m_-6485465644778955627gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">----------<br>Chuck Atkins<br><br></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Dec 7, 2016 at 10:33 AM, Brad King <span dir="ltr"><<a href="mailto:brad.king@kitware.com" target="_blank">brad.king@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 12/07/2016 10:02 AM, Chuck Atkins wrote:<br>
> I'm trying to understand why there's both CMAKE_USE_SYSTEM_LIBRARY_FOO<br>
> and CMAKE_USE_SYSTEM_FOO when it seems that the user-facing option<br>
> CMAKE_USE_SYSTEM_FOO isn't usually settable.<br>
<br>
</span>This is for interaction with the bootstrap script.  Options to that<br>
come in as cache entries that set the default for the user-facing<br>
options IIRC.<br>
<span class="m_-6485465644778955627HOEnZb"><font color="#888888"><br>
-Brad<br>
<br>
</font></span></blockquote></div><br></div></div>