Use export for setting env variable

This commit is contained in:
Exzap 2025-01-08 04:19:59 +01:00 committed by GitHub
parent 3a4d61bf78
commit 6f6890140a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -122,7 +122,7 @@ This section refers to running `cmake -S...` (truncated).
* `-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON`
* Environment variable `VCPKG_FORCE_SYSTEM_BINARIES` must be set.
* Execute the folowing and then try running the command again:
* `VCPKG_FORCE_SYSTEM_BINARIES=1`
* `export VCPKG_FORCE_SYSTEM_BINARIES=1`
* If you are getting a random error, read the [package-name-and-platform]-out.log and [package-name-and-platform]-err.log for the actual reason to see if you might be lacking the headers from a dependency.