From 113693664a15317dbed647dc181a720bf13d2358 Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Wed, 20 Mar 2024 22:04:16 -0700 Subject: [PATCH] Fix azure-pipelines build of neovim-qt on macOS/Qt5 The qt@5 package is keg-only these days and not linked into the cmake search path by default. Set QT_DIR so that cmake knows how to find Qt5. --- contrib/azure-pipelines.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/contrib/azure-pipelines.yml b/contrib/azure-pipelines.yml index cdf901687..63b0ea381 100644 --- a/contrib/azure-pipelines.yml +++ b/contrib/azure-pipelines.yml @@ -45,12 +45,15 @@ jobs: pool: vmImage: 'macOS-latest' steps: - - script: brew install msgpack neovim ninja qt5 + - script: brew install msgpack neovim ninja qt@5 displayName: Install Dependencies - task: CMake@1 inputs: workingDirectory: $(Build.BinariesDirectory) - cmakeArgs: -GNinja -DUSE_SYSTEM_MSGPACK=OFF -DCMAKE_BUILD_TYPE=Debug $(Build.SourcesDirectory) + cmakeArgs: -GNinja -DUSE_SYSTEM_MSGPACK=OFF -DCMAKE_BUILD_TYPE=Debug \ + -DQT_DIR=/usr/local/opt/qt@5/lib/cmake/Qt5 \ + -DQt5_DIR=/usr/local/opt/qt@5/lib/cmake/Qt5 \ + $(Build.SourcesDirectory) displayName: CMake Configure - task: CMake@1 inputs: