mirror of
https://github.com/cpm-cmake/CPM.cmake.git
synced 2025-11-23 04:37:43 -05:00
Compare commits
1 Commits
v0.27.3
...
v0.27.2-on
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9967fea35c |
@@ -49,8 +49,6 @@ After calling `CPMAddPackage` or `CPMFindPackage`, the following variables are d
|
||||
The difference between `CPMFindPackage` and `CPMAddPackage` is that `CPMFindPackage` will try to find a local dependency via CMake's `find_package` and fallback to `CPMAddPackage` if the dependency is not found.
|
||||
This behaviour can be also modified globally via [CPM options](#options).
|
||||
|
||||
See [this medium article](https://medium.com/swlh/cpm-an-awesome-dependency-manager-for-c-with-cmake-3c53f4376766) for a short tutorial on using CPM.cmake.
|
||||
|
||||
## Full CMakeLists Example
|
||||
|
||||
```cmake
|
||||
|
||||
Reference in New Issue
Block a user