mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
Update Protobuf ROOT env variable match package name
find_package looks for PackageName_ROOT and the package is now named 'protobuf'. Fixes: QTBUG-132901 Pick-to: 6.9 Change-Id: Ifb956e4ab52c3df059d2624eb989c97473a662a2 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
committed by
Tor Arne Vestbø
parent
ac2b15075c
commit
b2e1673d99
@@ -92,7 +92,7 @@ cmake "$targetDir" -G"Ninja Multi-Config" \
|
||||
ninja all:all
|
||||
sudo env "PATH=$PATH" ninja install:all
|
||||
|
||||
SetEnvVar "Protobuf_ROOT" "$installPrefix/lib/cmake/protobuf"
|
||||
SetEnvVar "protobuf_ROOT" "$installPrefix/lib/cmake/protobuf"
|
||||
|
||||
# Refresh shared library cache if OS isn't macOS
|
||||
if uname -a |grep -qv "Darwin"; then
|
||||
|
||||
Reference in New Issue
Block a user