Open
Description
Hello,
I'm using cmake to build my project that uses cpprestsdk.
My CMakeLists.txt uses find_package(cpprestsdk REQUIRED CONFIG)
to get the cpprestsdk::cpprest
cmake target.
Linking fails because of a missing symbol: libboost_system.so
.
Adding Boost::system
to the target_link_libraries
solves the problem.
I believe this is because of this:
https://github.com/Microsoft/cpprestsdk/blob/744f33baec14abc07b0cf527f25014a6d0cba7e4/Release/cmake/cpprestsdk-config.in.cmake#L14-L20
The AND OFF
must disappear.
Metadata
Metadata
Assignees
Labels
No labels