queryPkgConfig

fnComponentConfig queryPkgConfig(Component component)

Queries pkg-config for a specific FLTK component.

Attempts to retrieve version, cflags, and libs information from pkg-config for the specified component.

Parameters

componentThe FLTK component to query

Returns

ComponentConfig struct with the queried information.

Check the available field to see if the component was found.