Skip to content

CMake can't discover curlpp's INCLUDE_DIRS from pkg-config file using pkg_check_modules() #107

@sdshq

Description

@sdshq

According to CMake document, pkg_check_modules() determines the _INCLUDE_DIRS variable by checking the '-I' option in the .pc file. However, the option in curlpp.pc file doesn't reflect the package's prefix path:

图片

As a result, CMake can not set the include path for curlpp correctely.

The library path configuration has the same issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions