Using conan

How to package header-only libraries?

Packaging header-only libraries is similar to other packages, make sure to first read and understand the packaging getting started guide. The main difference is that the package recipe is typically much simpler. There are different approaches depending if you want conan to run the library unit tests while creating the package or not. Full details in this how-to