Hi,<br><br>I have the following macro:<br><br><span style="font-family: courier new,monospace;">macro( library_component project_name )</span><span style="font-family: courier new,monospace;"></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; if( ${ARGC} EQUAL 2 )</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; list( GET ARGN 0 component_dependencies )</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; endif()</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">endmacro()</span><br><br>I call the macro like this:<br>
<br><span style="font-family: courier new,monospace;">library_component( myProjectName item1 )</span><br><br>The conditional in the macro above checks to see if the 1st optional argument has been specified. If so, I proceed to obtain that argument from the ARGN list. When I use message() to print the ARGN list, I see &quot;item1&quot; in the output. However, when I call list( GET ), I get NOTFOUND in the output. Why is this not working?<br>