where can I find a comprehensive documentation for commands such as find_package?

Hi everyone. I’m just begin to get touch with the cmake and I’m wondering where can I find a complete document for the command. By complete I mean, for example, in the documentation for the find_package here, it is not talking about the command will set the _LINK_LIBRARIES or _INCLUDE_DIRS at all. Infact I cannot even find a document that point to these two variables. So how do people know we can use them rather than just google it after all?

I guess this sentence explains it:

“When the package is found package-specific information is provided through variables and

Imported Targets
documented by the package itself.”

So exactly what imported targets and variables get set, is documented for each find module separately.

For example:

That really makes sense. Thanks Jakub. :grinning: