Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/maintainers/vcpkg_check_features.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ Arguments passed to `FEATURES` and `INVERTED_FEATURES` are not validated to prev
If the same (`FEATURE_NAME`, `OPTION_NAME`) pair is passed to both lists,
two conflicting definitions are added to `OUT_FEATURE_OPTIONS`.

For each definition added to `OUT_FEATURE_OPTIONS`, the corresponding variable will also be set in
the parent scope, so they are immediately available after calling this function.

## Examples

Expand Down
2 changes: 2 additions & 0 deletions scripts/cmake/vcpkg_check_features.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ Arguments passed to `FEATURES` and `INVERTED_FEATURES` are not validated to prev
If the same (`FEATURE_NAME`, `OPTION_NAME`) pair is passed to both lists,
two conflicting definitions are added to `OUT_FEATURE_OPTIONS`.

For each definition added to `OUT_FEATURE_OPTIONS`, the corresponding variable will also be set in
the parent scope, so they are immediately available after calling this function.

## Examples

Expand Down