From 4c7aa36dff2a0704b6d4eed2a94cada9324b0366 Mon Sep 17 00:00:00 2001 From: Lars Melchior Date: Fri, 25 Oct 2019 16:01:47 +0200 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7a63a05..8dccda6 100644 --- a/README.md +++ b/README.md @@ -107,8 +107,8 @@ Dependencies using CPM will automatically use the updated script of the outermos - **First version used** In diamond-shaped dependency graphs (e.g. `A` depends on `C`@1.1 and `B`, which itself depends on `C`@1.2 the first added dependency will be used (in this case `C`@1.1). In this case, B requires a newer version of `C` than `A`, so CPM will emit a warning. This can be resolved by adding a new version of the dependency in the outermost project. For projects with more complex needs and where an extra setup step doesn't matter, it may be worth to check out an external C++ package manager such as [vcpkg](https://github.com/microsoft/vcpkg), [conan](https://conan.io) or [hunter](https://github.com/ruslo/hunter). -Dependencies added with `CPMFindPackages` should work with external package managers. -This can also be enabled for all CPM dependencies by enabling [`CPM_USE_LOCAL_PACKAGES`](#cpmuselocalpackages). +Dependencies added with `CPMFindPackage` should work with external package managers. +Additionally, the option [`CPM_USE_LOCAL_PACKAGES`](#cpmuselocalpackages) will enable `find_package` for all CPM dependencies. ## Options