Of course I read the docs for the if() command. It doesn't contain any comments about comparing a variable's value to another variable's value. Are you suggesting that if it isn't in the documentation then it isn'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"><<a href="mailto:tyler@cryptio.net">tyler@cryptio.net</a>></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>
> Is there a way to compare the contents of one variable with another? I'm<br>
> looking for something like:<br>
> 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>