File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ jobs:
229229 - name : Homebrew
230230 run : |
231231 which pkg-config || brew install pkg-config
232- brew install qt6 jq mongo-c-driver@1 gflags glog lz4 yarn
232+ brew install qt6 jq mongo-c-driver@2 gflags glog lz4 yarn
233233 - name : configure for debug
234234 run : |
235235 export PKG_CONFIG_PATH=$(echo "$(find -L "$(brew --prefix)/opt" -type d \( -path "*/lib/pkgconfig" -o -path "*/share/pkgconfig" \) 2>/dev/null)" | sort -u | paste -sd ":" -):$PKG_CONFIG_PATH
Original file line number Diff line number Diff line change @@ -464,6 +464,8 @@ unix {
464464 LIBS += ../3rdparty/mongo-driver/src/libmongoc/libmongoc2.a ../3rdparty/mongo-driver/src/libbson/libbson2.a
465465 } else {
466466 # Shared link
467+ LIBS += $$system (" pkg-config --libs mongoc2 2>/dev/null" )
468+ QMAKE_CXXFLAGS += $$system (" pkg-config --cflags-only-I mongoc2 2>/dev/null" )
467469 LIBS += $$system (" pkg-config --libs libmongoc-1.0 2>/dev/null" )
468470 QMAKE_CXXFLAGS += $$system (" pkg-config --cflags-only-I libmongoc-1.0 2>/dev/null" )
469471 LIBS += $$system (" pkg-config --libs openblas 2>/dev/null" )
You can’t perform that action at this time.
0 commit comments