Install and enable pkg-config on macOS

Needed after commit f3c7d22dd0
that caused CMake to not search libraries under /usr/local.

Change-Id: Ic10925e1c6ee941e7a58a3a219be3d659d3b2fb5
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Dimitrios Apostolou 2020-06-30 14:24:34 +02:00
parent 04e1ae2308
commit 31ae43f875

View File

@ -31,9 +31,10 @@ jobs:
- name: macos-10.15 - name: macos-10.15
os: macos-10.15 os: macos-10.15
deps: jpeg sqlite deps: jpeg sqlite
tools: ninja ccache tools: ninja ccache pkg-config
install_cmd: brew install install_cmd: brew install
cmake_flags: -DFEATURE_system_sqlite=ON # Specifically on macOS pkg_config has to be manually turned on otherwise libraries under /usr/local are not detected.
cmake_flags: -DFEATURE_system_sqlite=ON -DFEATURE_pkg_config=ON
- name: windows-2019 - name: windows-2019
os: windows-2019 os: windows-2019
install_cmd: choco install install_cmd: choco install