Description
Issue: Unable to select MultiThreaded or MultiThreadedDLL in MSVC environment
Description
In the CMakeLists.txt file, when BUILD_SHARED_LIBS is set to FALSE (OFF), the runtime library is forcibly set to MultiThreaded.
Instead of this hardcoded behavior, it would be better to use the CMAKE_MSVC_RUNTIME_LIBRARY option to allow MultiThreaded and MultiThreadedDLL as configurable build options.
Let me know if you need any modifications! π
Example/How to Reproduce
- Create a
cpr::Session
- Set option ...
- Perform the request
- See error
Possible Fix
No response
Where did you get it from?
GitHub (branch e.g. master)
Additional Context/Your Environment