Skip to content

Use of find_library #1

Closed
Closed
@msieben

Description

@msieben

In certain files at https://github.com/Metrological/WebKitForWayland/tree/master/Source/cmake the find_library function is used with hardcoded names. Although the names might be commonly accepted, wouldn't it be better to extract the name from the .pc, i.e. the name given by -l? This allows for less conventional names.

Example: https://github.com/Metrological/WebKitForWayland/blob/master/Source/cmake/FindOpenGLES2.cmake#L18-20

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions