Skip to content

Commit 3012a10

Browse files
committed
add that URI must be the first argument
1 parent 29062cf commit 3012a10

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,9 @@ CPMAddPackage(
121121
)
122122
```
123123

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.
124+
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.
125127

126128
After calling `CPMAddPackage`, the following variables are defined in the local scope, where `<dependency>` is the name of the dependency.
127129

0 commit comments

Comments
 (0)