We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29062cf commit 3012a10Copy full SHA for 3012a10
README.md
@@ -121,7 +121,9 @@ CPMAddPackage(
121
)
122
```
123
124
-`URI` automatically sets `EXCLUDE_FROM_ALL YES` and `SYSTEM YES`. If this is not desired, `EXCLUDE_FROM_ALL NO` and `SYSTEM NO` have to be set.
+The `URI` argument must be the first argument to `CPMAddPackage`.
125
+`URI` automatically sets `EXCLUDE_FROM_ALL YES` and `SYSTEM YES`.
126
+If this is not desired, `EXCLUDE_FROM_ALL NO` and `SYSTEM NO` can be set afterwards.
127
128
After calling `CPMAddPackage`, the following variables are defined in the local scope, where `<dependency>` is the name of the dependency.
129
0 commit comments