Skip to content

Commit

Permalink
Update cmake-multi-platform.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vlasta-labsky authored Nov 2, 2024
1 parent 24438bc commit d120757
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ jobs:
cmake --build . --config Release
cmake --install . --prefix "C:/unicorn"
cd ../..
$env:PKG_CONFIG_PATH += ';C:\unicorn\lib\pkgconfig'
shell: pwsh
- name: Install Capstone on Windows
if: runner.os == 'Windows'
Expand All @@ -89,8 +87,17 @@ jobs:
cmake --build . --config Release
cmake --install . --prefix "C:/capstone"
cd ../..
$env:PKG_CONFIG_PATH += ';C:\capstone\lib\pkgconfig'
echo "Final PKG_CONFIG_PATH=$env:PKG_CONFIG_PATH"
- name: Set PkgConfig path on Windows
if: runner.os == 'Windows'
run: |
echo "PKG_CONFIG_PATH=C:\capstone\lib\pkgconfig;C:\unicorn\lib\pkgconfig" >> $env:GITHUB_ENV
shell: pwsh

- name: Check pkgconfig ENV on Windows
if: runner.os == 'Windows'
run: |
echo $env:PKG_CONFIG_PATH
shell: pwsh

- name: Configure CMake
Expand Down

0 comments on commit d120757

Please sign in to comment.