[build_all_examples] how to find curlpp package on windows?
xkungfu opened this issue · 1 comments
xkungfu commented
build_all_examples, Although tried to add many path to cmakelists.txt. the complier couldn't find curlpp package.
error log:
-- Checking for module 'curlpp' -- No package 'curlpp' found
my cmakelists.txt:
set(PKG_CONFIG_PATH I:/CXXlibs/CURLPP/curlpp20211124/build/winbuild/lib/pkgconfig)
set(PKG_CONFIG_EXECUTABLE I:/CXXTools/PKGCONFIG/pkg-config.exe)
set(CMAKE_PREFIX_PATH I:/CXXlibs/CURLPP/curlpp20211124/build/winbuild/bin)
list(APPEND CMAKE_PREFIX_PATH I:/CXXlibs/CURLPP/curlpp20211124/build/winbuild)
list(APPEND CMAKE_PREFIX_PATH I:/CXXlibs/CURLPP/curlpp20211124/build/winbuild/lib)
list(APPEND CMAKE_PREFIX_PATH I:/CXXlibs/CURLPP/curlpp20211124/build/winbuild/include)
include(FindPkgConfig)
pkg_check_modules(CURLPP REQUIRED curlpp)
please tell me how to let pkg_check_modules find curlpp library?
environment:
window10
mingw64-810
qt_creator 5
xCENTx commented
Having the same issue