We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On Main Page: https://github.com/microsoft/cpprestsdk (09/26/2023)
To use from CMake: ` cmake_minimum_required(VERSION 3.9) project(main)
find_package(cpprestsdk REQUIRED)
add_executable(main main.cpp) target_link_libraries(main PRIVATE cpprestsdk::cpprest) `
Is missing the linker Option "-lcrypto", thus it should be:
` cmake_minimum_required(VERSION 3.9) project(main)
find_package(cpprestsdk REQUIRED) add_link_options(-lcrypto)
Thanks
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
On Main Page: https://github.com/microsoft/cpprestsdk (09/26/2023)
To use from CMake:
`
cmake_minimum_required(VERSION 3.9)
project(main)
find_package(cpprestsdk REQUIRED)
add_executable(main main.cpp)
target_link_libraries(main PRIVATE cpprestsdk::cpprest)
`
Is missing the linker Option "-lcrypto", thus it should be:
`
cmake_minimum_required(VERSION 3.9)
project(main)
find_package(cpprestsdk REQUIRED)
add_link_options(-lcrypto)
add_executable(main main.cpp)
target_link_libraries(main PRIVATE cpprestsdk::cpprest)
`
Thanks
The text was updated successfully, but these errors were encountered: