Of course I read the docs for the if() command.   It doesn&#39;t contain any comments about comparing a variable&#39;s value to another variable&#39;s value.   Are you suggesting that if it isn&#39;t in the documentation then it isn&#39;t supported?   If so, please say so.   I was just hoping someone might know a way to do this kind of test/comparison.<div>
<br></div><div><br><br><div class="gmail_quote">On Tue, Sep 29, 2009 at 11:08 AM, Tyler Roscoe <span dir="ltr">&lt;<a href="mailto:tyler@cryptio.net">tyler@cryptio.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Tue, Sep 29, 2009 at 10:56:45AM -0600, Steven Wilson wrote:<br>
&gt; Is there a way to compare the contents of one variable with another?   I&#39;m<br>
&gt; looking for something like:<br>
&gt; if(${FOO} EQUAL ${BAR})<br>
<br>
</div></div>Did you read the docs for the if() command?<br>
<br>
cmake --help-command if<br>
<font color="#888888"><br>
<br>
tyler<br>
</font></blockquote></div><br></div>