[cmake-developers] find_package module-only policy

Brad King brad.king at kitware.com
Wed Feb 22 16:07:16 EST 2012


On 2/22/2012 12:47 PM, Alexander Neundorf wrote:
>  From my side I had no need to discuss, I really like this idea.
>
> I mean, I really like this suggestion.
> Only problem is the FindCONFIG.cmake and FindMODULE.cmake case...
>
> If we can find a way how to avoid this problem I'd be all for this solution.
> Enabling the keywords MODULE and CONFIG only via a policy ?

I think that's too complicated for now.  It is much simpler to just
put the keywords at the same place as NO_MODULE currently goes.  We
can always add the mode-first signatures later.

Thanks,
-Brad



More information about the cmake-developers mailing list