Skip to content

find_package_handle_standard_args: X_FIND_REQUIRED is case sensitive

I've just noticed that with find_package(Foo, …) find_package_handle_standard_args then checks Foo_FIND_REQUIRED, which was confusing, since otherwise packages appear to be handle case insensitive.

I think it might be good to check this case insensitively - after all it will also use uppercase with FOO_FOUND.

See _FPHSA_FAILURE_MESSAGE in Modules/FindPackageHandleStandardArgs.cmake. Also applies to _FIND_QUIETLY then probably.

Ref: https://github.com/neovim/neovim/pull/10288

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information