David Cole escribió:

> Why MYTEST function doesn't changes the parent variable MYMSG?
> Do I need to FORCE it?

No, you need to PARENT_SCOPE it. See cmake --help-command SET for details
about PARENT_SCOPE.


HTH,
David

It worked, thanks.
It appears in SET command documentation but no in FUNCTION :(. It would be
appear there too.
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to