Default to remote packages (#38)

* Update CPM.cmake

* Update CPM.cmake

* Update README.md
This commit is contained in:
Lars Melchior
2019-04-22 20:01:41 +02:00
committed by GitHub
parent 282b98423a
commit 5192f713d2
2 changed files with 6 additions and 6 deletions

View File

@@ -52,7 +52,7 @@ To update CPM to the newest version, simply update the script in the project's c
# Options
If you set the CMake option `CPM_REMOTE_PACKAGES_ONLY` to `On`, packages will always be fetched via the URL. Setting `CPM_LOCAL_PACKAGES_ONLY` to `On` will only add packages via `find_package`.
Setting the CMake option `CPM_USE_LOCAL_PACKAGES` will activate finding packages via `find_package`. If the option `CPM_LOCAL_PACKAGES_ONLY` is set, CPM will only use local packages.
# Advantages