Skip to content

Commit dc324f0

Browse files
committed
更新build.yml
1 parent 3b8b1b3 commit dc324f0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,15 @@ jobs:
2828
2929
- name: Configure CMake
3030
run: |
31+
$WXROOT="${{github.workspace}}/vcpkg/installed/x64-windows-static"
3132
cmake -B ${{github.workspace}}/build `
3233
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} `
3334
-DCMAKE_TOOLCHAIN_FILE=${{github.workspace}}/vcpkg/scripts/buildsystems/vcpkg.cmake `
3435
-DVCPKG_TARGET_TRIPLET=x64-windows-static `
3536
-DwxWidgets_USE_STATIC=ON `
36-
-DwxWidgets_ROOT_DIR=${{github.workspace}}/vcpkg/installed/x64-windows-static
37+
-DwxWidgets_INCLUDE_DIRS="$WXROOT/include" `
38+
-DwxWidgets_LIB_DIR="$WXROOT/lib"
39+
3740
3841
- name: Build
3942
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
@@ -42,4 +45,4 @@ jobs:
4245
uses: actions/upload-artifact@v4
4346
with:
4447
name: LaminaIDE-Windows
45-
path: ${{github.workspace}}/build/bin/Release/
48+
path: ${{github.workspace}}/build/bin/Release/

0 commit comments

Comments
 (0)