[cmake-developers] find_package module-only policy
Brad King
brad.king at kitware.com
Wed Feb 22 07:14:44 EST 2012
On 2/21/2012 5:09 PM, Alexander Neundorf wrote:
> This is now in the FindPackage_CONFIG_MODULEKeywordsFirst branch on stage,
[snip]
> There is the potential issue with "CONFIG" and "MODULE" being in use as module
> names already somewhere.
Yes. I hadn't actually intended for you to go straight to
implementation with that idea. I only intended it as a
possibility for discussion. Your concern also makes me
realize that find_package has always had the package
name first. There are many other ways to imply CONFIG
mode by using some of the full signature arguments. I
think the original
find_package(Foo CONFIG)
ordering is better in light of these concerns.
Thanks,
-Brad
More information about the cmake-developers
mailing list