diff --git a/INSTALL.md b/INSTALL.md index 67db96b..282e019 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -28,6 +28,29 @@ target("...") add_packages("omath") ``` +## Using Conan +**Note**: Support Conan for package management +1. Install [Conan](https://conan.io/downloads) +2. Run the following command to install the omath package: +``` +conan install --requires="omath/[*]" --build=missing +``` +conanfile.txt +```ini +[requires] +omath/[*] + +[generators] +CMakeDeps +CMakeToolchain +``` +CMakeLists.txt +```cmake +find_package(omath CONFIG REQUIRED) +target_link_libraries(main PRIVATE omath::omath) +``` +For more details, see the [Conan documentation](https://docs.conan.io/2/). + ## Using prebuilt binaries (GitHub Releases) **Note**: This is the fastest option if you don’t want to build from source.