File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -16,21 +16,24 @@ jobs:
1616 steps :
1717 - uses : actions/checkout@v4
1818
19- - name : Set up vcpkg
19+ - name : Setup vcpkg
2020 uses : lukka/run-vcpkg@v11
2121 with :
2222 vcpkgGitCommitId : ' 4334d8b4c8916018600212ab4dd4bbdc343065d1'
23+ vcpkgDirectory : ' ${{ github.workspace }}/vcpkg'
2324
2425 - name : Install wxWidgets
2526 run : |
26- vcpkg install wxwidgets:x64-windows-static
27+ ${{ github.workspace }}/ vcpkg/vcpkg.exe install wxwidgets:x64-windows-static --triplet x64-windows-static
2728
2829 - name : Configure CMake
2930 run : |
3031 cmake -B ${{github.workspace}}/build `
3132 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} `
3233 -DCMAKE_TOOLCHAIN_FILE=${{github.workspace}}/vcpkg/scripts/buildsystems/vcpkg.cmake `
33- -DwxWidgets_USE_STATIC=ON
34+ -DVCPKG_TARGET_TRIPLET=x64-windows-static `
35+ -DwxWidgets_USE_STATIC=ON `
36+ -DwxWidgets_ROOT_DIR=${{github.workspace}}/vcpkg/installed/x64-windows-static
3437
3538 - name : Build
3639 run : cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
You can’t perform that action at this time.
0 commit comments