mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-30 21:51:12 +02:00
wording
This commit is contained in:
parent
5ecdbfcb67
commit
37edafef74
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ See [Format.cmake](https://github.com/TheLartians/Format.cmake) for more options
|
|||
|
||||
- You recommend to add external dependencies using CPM.cmake. Will this force users of my library to use CPM as well?
|
||||
|
||||
[CPM.cmake](https://github.com/TheLartians/CPM.cmake) should be invisible for your library users as it's a self-contained CMake Script.
|
||||
[CPM.cmake](https://github.com/TheLartians/CPM.cmake) should be invisible to library users as it's a self-contained CMake Script.
|
||||
If problems do arise, users can always opt-out by defining `CPM_USE_LOCAL_PACKAGES`, which will override all calls to `CPMAddPackage` with `find_package`.
|
||||
Alternatively, you could use `CPMFindPackage` instead of `CPMAddPackage`, which will try to use `find_package` before calling `CPMAddPackage` as a fallback.
|
||||
Both approaches should be compatible with common C++ package managers without modifications, however come with the cost of reproducible builds.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue