blob: de5153c57be200c8c3586b0d913a2d50b8e33ea0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
post_install() {
export VCPKG_ROOT=/opt/vcpkg
export VCPKG_DOWNLOADS=/var/cache/vcpkg
cat << _EOF
==> vcpkg user note:
------------------------------------------------------------------------------
"VCPKG_ROOT" is set to "$VCPKG_ROOT"
"VCPKG_DOWNLOADS" is set to "$VCPKG_DOWNLOADS"
To cooperate with CMake, add "-DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake"
Please add the intended users to the group 'vcpkg':
# gpasswd -a <user> vcpkg
_EOF
}
post_upgrade() {
post_install
}
|