aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com>2021-03-21 15:12:34 +0000
committerGitHub <noreply@github.com>2021-03-21 15:12:34 +0000
commitf7347b1f7ac71d11bf48d9e98a79a41aece669c9 (patch)
tree9365fcc1e8e259447d006ac6ab6b989bc4d00ce4
parentf060162dacb512ee88eb0bf9f504207c5f37fbd4 (diff)
tell pkg-config the location of libarchive
-rw-r--r--.github/workflows/build-macos.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml
index 33b22a2..3bcc4df 100644
--- a/.github/workflows/build-macos.yml
+++ b/.github/workflows/build-macos.yml
@@ -25,7 +25,9 @@ jobs:
run: mkdir ${{runner.workspace}}/build
- name: Configure
working-directory: ${{runner.workspace}}/build
- run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DQt5_DIR=$(brew --prefix qt5)/lib/cmake/Qt5
+ run: |
+ export PKG_CONFIG_PATH="$(brew --prefix libarchive)/lib/pkgconfig"
+ cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DQt5_DIR=$(brew --prefix qt5)/lib/cmake/Qt5
- name: Make
working-directory: ${{runner.workspace}}/build
run: |