From 7da39ee9ba0bc9a8e617877abf319b4698666b09 Mon Sep 17 00:00:00 2001 From: neargye Date: Mon, 6 Apr 2020 14:02:48 +0500 Subject: [PATCH] add CPM --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index dfb8acb..03b3e1b 100644 --- a/README.md +++ b/README.md @@ -119,6 +119,15 @@ If you are using [vcpkg](https://github.com/Microsoft/vcpkg/) on your project fo If you are using [Conan](https://www.conan.io/) to manage your dependencies, merely add `nameof/x.y.z@neargye/stable` to your conan's requires, where `x.y.z` is the release version you want to use. +Alternatively, you can use something like [CPM](https://github.com/TheLartians/CPM) which is based on CMake's `Fetch_Content` module. + +```cmake +CPMAddPackage( + NAME nameof + GITHUB_REPOSITORY Neargye/nameof + GIT_TAG 0.9.3 # Where `x.y.z` is the release version you want to use. +) + ## Compiler compatibility * Clang/LLVM >= 5