[bootstrap-vcpkg.sh] restore removed eval call (#37047)

As suggested in
https://github.com/microsoft/vcpkg/issues/37035#issuecomment-1969389886
cc @SchaichAlonso 

Fixes #37035
Fixes #37045
This commit is contained in:
Osyotr 2024-03-01 01:04:29 +03:00 committed by GitHub
parent 2ac6ba173b
commit 3f966cf6a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -217,7 +217,7 @@ else
cmakeConfigOptions=" $cmakeConfigOptions '-DCMAKE_JOB_POOL_COMPILE:STRING=compile' '-DCMAKE_JOB_POOL_LINK:STRING=link' '-DCMAKE_JOB_POOLS:STRING=compile=$VCPKG_MAX_CONCURRENCY;link=$VCPKG_MAX_CONCURRENCY' "
fi
(cd "$buildDir" && cmake "$srcDir" $cmakeConfigOptions) || exit 1
(cd "$buildDir" && eval cmake "$srcDir" $cmakeConfigOptions) || exit 1
(cd "$buildDir" && cmake --build .) || exit 1
rm -rf "$vcpkgRootDir/vcpkg"