Fix typo and wording (#124)

* Fix typo

* Update README.md
This commit is contained in:
Lars Melchior
2020-05-29 10:15:09 +02:00
committed by GitHub
parent 54a2d80d1e
commit 76d7b27459

View File

@@ -139,9 +139,9 @@ These options can also be set as environmental variables.
## Local package override
Library developers are often in the situation where they work on a locally checked out dependency at the same time as on a consumer.
It is possible to override the consumer's dependency version with the local one by supplying the CMake option `CPM_<dependency name>_SOURCE`.
For example, to use the local version of `Dep` at the absolute path `/path/to/dep`, the consumer can be build with `cmake -H. -Bbuild -DCPM_Dep_SOURCE=/path/to/dep`.
Library developers are often in the situation where they work on a locally checked out dependency at the same time as on a consumer project.
It is possible to override the consumer's dependency with the version by supplying the CMake option `CPM_<dependency name>_SOURCE` set to the absolute path of the local library.
For example, to use the local version of the dependency `Dep` at the path `/path/to/dep`, the consumer can be built with `cmake -H. -Bbuild -DCPM_Dep_SOURCE=/path/to/dep`.
## Snippets