[CMake] unset(PARENT_SCOPE)

Brad King brad.king at kitware.com
Tue Oct 8 08:20:02 EDT 2013


On 09/17/2013 02:00 PM, James Bigler wrote:
> If there is a set(PARENT_SCOPE) why isn't there an unset(PARENT_SCOPE)?
> It seems like a hole in the API.

Yes, I'll look at adding it.

You should be able to use

 set(var PARENT_SCOPE)

to unset.  The unset command is mostly a readability convenience.

-Brad


More information about the CMake mailing list