find_package() variables should be case-insensitive
find_package(Foo CONFIG), predefined variables will follow the pattern
Foo_FIND_COMPONENTS. If I change the initial call to use
foo, then the variables become
foo_FIND_COMPONENTS. This is error prone and IMHO I think the variables should be all-upper-case. So no matter what case the user chooses when they call
find_package(), the config package scripts get the same variables. Furthermore, this makes sense given that the config file search behavior is also case insensitive. So given both scenarios mentioned previously, you'd get
FOO_FIND_COMPONENTS in both.
For backward compatibility, you can continue to define the verbatim-case versions of those variables.