diff options
| author | autoantwort <41973254+autoantwort@users.noreply.github.com> | 2021-06-24 00:30:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-23 15:30:46 -0700 |
| commit | 876e67c26e42c0c7d2daa41c6871af117ae6bec5 (patch) | |
| tree | f4d140ed392db631906fb677e23b72fd39deb71c /docs | |
| parent | 2ed44b4546ecc764c81db4fd16ea19d19ea0449d (diff) | |
| download | vcpkg-876e67c26e42c0c7d2daa41c6871af117ae6bec5.tar.gz vcpkg-876e67c26e42c0c7d2daa41c6871af117ae6bec5.zip | |
[vcpkg.cmake] PREPEND CMAKE_FIND_ROOT_PATH (#17336)
* [vcpkg.cmake] PREPEND CMAKE_FIND_ROOT_PATH
* [vcpkg.cmake] make PREPEND optional (default off, option VCPKG_PREFER_VCPKG_LIBS)
* Apply suggestions from code review
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
* Update scripts/buildsystems/vcpkg.cmake
Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/users/manifests.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/users/manifests.md b/docs/users/manifests.md index 6d94cd40c..ae0ee7eed 100644 --- a/docs/users/manifests.md +++ b/docs/users/manifests.md @@ -425,6 +425,12 @@ Defaults to `OFF`. This variable can be set to a list of additional command line parameters to pass to the vcpkg tool during automatic installation. +#### `VCPKG_PREFER_SYSTEM_LIBS` + +This variable controls whether vcpkg will appends instead of prepends its paths to `CMAKE_PREFIX_PATH`, `CMAKE_LIBRARY_PATH` and `CMAKE_FIND_ROOT_PATH` so that vcpkg libraries/packages are found after toolchain/system libraries/packages. + +Defaults to `OFF`. + #### `VCPKG_FEATURE_FLAGS` This variable can be set to a list of feature flags to pass to the vcpkg tool during automatic installation to opt-in to |
