Skip to content

Commit

Permalink
Try setting PKG_CONFIG_PATH explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
tfpf committed Nov 1, 2024
1 parent b802896 commit 4e82653
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
git clone https://github.com/libgit2/libgit2.git
mkdir libgit2/build
cd libgit2/build
cmake .. -DCMAKE_INSTALL_PREFIX='/usr' -DBUILD_CLI=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF
cmake .. -DCMAKE_INSTALL_PREFIX='C:/ProgramData/libgit2' -DBUILD_CLI=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF
cmake --build . --target install --parallel 4
ls -l $PKG_CONFIG_PATH
ls -l 'C:/ProgramData/libgit2/lib/pkgconfig'
- uses: actions/checkout@v4
- run: make -j release
- run: PKG_CONFIG_PATH='C:/ProgramData/libgit2/lib/pkgconfig' make -j release
working-directory: custom-prompt

build_macos:
Expand Down

0 comments on commit 4e82653

Please sign in to comment.