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.