Skip to content

Commit 9bad505

Browse files
committed
Add instructions to install the library with Conan
[ci skip]
1 parent f19d4d6 commit 9bad505

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ std::vector<std::string> vec;
4343
gfx::timsort(vec.begin(), vec.end(), std::less<size_t>(), &len);
4444
```
4545
46-
## COMPATIBILITY
46+
## INSTALLATION & COMPATIBILITY
4747
4848
This library is compatible with C++98, but if you compile it with C++11 or higher it will try to use `std::move()`
4949
when possible instead of copying vaues around, which notably allows to sort collections of move-only types (see
@@ -67,6 +67,13 @@ cd build
6767
make install
6868
```
6969

70+
Alternatively the library is also available on conan-center-index and can be installed in your local Conan cache via
71+
the following command:
72+
73+
```sh
74+
conan install timsort/1.2.1
75+
```
76+
7077
## DIAGNOSTICS & INFORMATION
7178

7279
A few configuration macros allow gfx::timsort to emit diagnostic, which might be helpful to diagnose issues:

0 commit comments

Comments
 (0)