Unable to select MultiThreaded or MultiThreadedDLL in MSVC environment
envgap__libcpr__cpr-1198
01 / FAILURE SIGNATURE
As reported upstream
4. See error
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
397d85a9b1002589e1aa24f41f51c5aaff7a2775- Manifest
CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
libcpr/cpr #1198 · read the original issue
### 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 1. Create a `cpr::Session` 2. Set option ... 3. Perform the request 4. See error ### Possible Fix _No response_ ### Where did you get it from? GitHub (branch e.g. master) ### Additional Context/Your Environment - OS: - Version:
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]