David Cole escribió: 
<blockquote cite="mid:f435c2c50804230903w18676379vbb841bb7ebce5b12@mail.gmail.com" type="cite">&gt; Why MYTEST function doesn&#39;t changes the parent variable MYMSG?<br>&gt; Do I need to FORCE it?<br><br>
<div>No, you need to PARENT_SCOPE it. See cmake --help-command SET for details about PARENT_SCOPE.</div>
<div><br>&nbsp;</div>
<div>HTH,</div>
<div>David</div></blockquote>
<div>It worked, thanks.<br>It appears in SET command documentation but no in FUNCTION :(. It would be appear there too.</div>
<div>&nbsp;</div>