sony / easyhttpcpp

A cross-platform HTTP client library with a focus on usability and speed
MIT License
163 stars 29 forks source link

Allow usage as subproject #16

Closed madebr closed 1 year ago

madebr commented 4 years ago

Hello,

While creating https://github.com/conan-io/conan-center-index/pull/1537, I noticed that easyhttpcpp cannot be used as a subproject.

This patch fixes this by replacing global cmake variables with project local ones.

I also introduced a cmake variable PROJECT_MODULE_PATH that contains the path to easyhttpcpp's cmake subdirectory.