Skip to content

Commit

Permalink
Fix azure-pipelines build of neovim-qt on macOS/Qt5
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
davvid authored Mar 21, 2024
1 parent eabe6f3 commit 66a82e0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions contrib/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 66a82e0

Please sign in to comment.