]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Add Conan to readme 4101/head
authorUilian Ries <uilianries@gmail.com>
Fri, 26 Jul 2024 07:45:06 +0000 (09:45 +0200)
committerUilian Ries <uilianries@gmail.com>
Fri, 26 Jul 2024 07:45:06 +0000 (09:45 +0200)
Signed-off-by: Uilian Ries <uilianries@gmail.com>
README.md

index 54dfd40653b85e4d01eb539ba843895db466dc36..d91ef5df1b269a71bd784949a6dd72443f2f47ad 100644 (file)
--- a/README.md
+++ b/README.md
@@ -184,6 +184,17 @@ You can build and install zstd [vcpkg](https://github.com/Microsoft/vcpkg/) depe
 The zstd port in vcpkg is kept up to date by Microsoft team members and community contributors.
 If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository.
 
+### Conan
+
+You can install pre-built binaries for zstd or build it from source using [Conan](https://conan.io/). Use the following command:
+
+```bash
+conan install --requires="zstd/[*]" --build=missing
+```
+
+The zstd Conan recipe is kept up to date by Conan maintainers and community contributors.
+If the version is out of date, please [create an issue or pull request](https://github.com/conan-io/conan-center-index) on the ConanCenterIndex repository.
+
 ### Visual Studio (Windows)
 
 Going into `build` directory, you will find additional possibilities: