Print it out to make sure it is what you think it is. Perhaps it's empty and REMOVE_DUPLICATES doesn't like empty lists? If so, file a bug: REMOVE_DUPLICATES should probably just be a silent no-op if the list is empty.<div>
<div><br></div><div>Or is it a variable that is not defined?<br><br></div><div>What does:</div><div>MESSAGE(STATUS "list_var='${list_var}'")</div><div><div>MESSAGE(STATUS "${list_var}='${${list_var}}'")</div>
<div>...executed just before the REMOVE_DUPLICATES call print out?</div><div><br></div><div><br></div><div><br></div><div class="gmail_quote">On Thu, Jan 22, 2009 at 1:26 PM, Robert Dailey <span dir="ltr"><<a href="mailto:rcdailey@gmail.com">rcdailey@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote"><div class="Ih2E3d">On Thu, Jan 22, 2009 at 5:39 AM, David Cole <span dir="ltr"><<a href="mailto:david.cole@kitware.com" target="_blank">david.cole@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
Use "list_var" instead of "${list_var}"<br><br>${list_var} will only work if it happens to evaluate to the name of a list variable....</blockquote></div><div><br>That was the entire point :)<br><br>list_var isn't a list, it's a variable pointing to a list. Apologies if I did not explain this properly before.<br>
</div></div>
</blockquote></div><br></div></div>