Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sdshq opened this issue Sep 11, 2020 · 1 comment

Comments

@sdshq
Copy link

sdshq commented Sep 11, 2020

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.

@tastytea
Copy link

Duplicate of #68, fix in #86.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants