Re: [cmake-developers] Make non-REQUIRED find_package() always disable-able Was: Re: Adding argument "OPTIONAL" to find_package() and add_subdirectory

2011-06-07 Thread Michael Wild
On 06/07/2011 10:28 AM, Alexander Neundorf wrote: > Hi, > > I slept over it, I think here's a better idea. > > For every find_package() which is not REQUIRED, some people or packagers may > want to explicitely disable each one of them. > > So how about this: > if there is no REQUIRED keyword in

[cmake-developers] Make non-REQUIRED find_package() always disable-able Was: Re: Adding argument "OPTIONAL" to find_package() and add_subdirectory

2011-06-07 Thread Alexander Neundorf
Hi, I slept over it, I think here's a better idea. For every find_package() which is not REQUIRED, some people or packagers may want to explicitely disable each one of them. So how about this: if there is no REQUIRED keyword in the find_package() call, there is always an option added which can