Description
The cpprestsdk exported target created during the build process of the libraries
does not carry all required dependencies.
For one, the Boost and openSSL dependencies are not defined on the target.
Commit cb7ca74 seems to have broken this for openSSL, by always defaulting to pkg-config for searching OpenSSL.
The issue leading to that commit has been solved in the find_package module by kitware: https://gitlab.kitware.com/cmake/cmake/-/issues/16885
For Boost this seems to be disabled deliberately...
cpprestsdk/Release/cmake/cpprest_find_boost.cmake
Lines 55 to 76 in f4124a9
Running git blame
on this file shows that that comment on line 54 was made 3 years ago...
Is it still relevant?
I saw that at the time serious effort was put into using modern CMake, so it would be nice to actually be able to see that in action.
Also, because of the above, the simple CMakeLists.txt file listed on the Readme is not working.