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:
parent
04e1ae2308
commit
31ae43f875
5
.github/workflows/ninja-build.yml
vendored
5
.github/workflows/ninja-build.yml
vendored
@ -31,9 +31,10 @@ jobs:
|
||||
- name: macos-10.15
|
||||
os: macos-10.15
|
||||
deps: jpeg sqlite
|
||||
tools: ninja ccache
|
||||
tools: ninja ccache pkg-config
|
||||
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
|
||||
os: windows-2019
|
||||
install_cmd: choco install
|
||||
|
Loading…
Reference in New Issue
Block a user