mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-04 20:56:46 +08:00
Fix Windows gRPC install with CMake minimum version 3.5
Augments7a8ffd980fPick-to: 6.8 Task-number: QTQAINFRA-7683 Change-Id: I3e0531eb0df63116a068ae2e66c916e564e3552b Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io> (cherry picked from commit6ef2fa58fa) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
committed by
Qt Cherry-pick Bot
parent
65d1bc2995
commit
546f7a3ba8
@@ -49,6 +49,7 @@ function build-install-grpc {
|
||||
"-DgRPC_SSL_PROVIDER=package"
|
||||
# protobuf
|
||||
"-DProtobuf_USE_STATIC_LIBS=ON"
|
||||
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
|
||||
"-DCMAKE_PREFIX_PATH=$protobufRoot"
|
||||
)
|
||||
cmake .. -G"Ninja Multi-Config" -DCMAKE_CONFIGURATION_TYPES="$BuildType" -DCMAKE_INSTALL_PREFIX="$installPath" $extraCMakeArgs $configureOptions
|
||||
|
||||
Reference in New Issue
Block a user