please add pkg-config support, so user can use library without cmake.
ive trying to add find_package(cpr REQUIRED) on CMakeLists.txt (cpr is installed on /usr/local as prefix ) but cmake couldnt find it.
however when i try to built with command g++ -o test test.cpp -lcpr is built with success, but error comes :
./test error while loading shared libraries: libcpr.so.1: cannot open shared object file: No such file or directory
Possible Solution
pkg-config support or , more detailed instruction to use cmake (for noob as me)
Is your feature request related to a problem?
please add
pkg-config
support, so user can use library withoutcmake
. ive trying to addfind_package(cpr REQUIRED)
on CMakeLists.txt (cpr is installed on/usr/local
as prefix ) but cmake couldnt find it. however when i try to built with commandg++ -o test test.cpp -lcpr
is built with success, but error comes :./test error while loading shared libraries: libcpr.so.1: cannot open shared object file: No such file or directory
Possible Solution
pkg-config
support or , more detailed instruction to usecmake
(for noob as me)Alternatives
No response
Additional Context
No response