Skip to content

Commit

Permalink
Update cmake-single-platform.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PKFR4ever authored Jan 3, 2025
1 parent e39790f commit da12d85
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cmake-single-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ jobs:
- name: Configure CMake with g++
run: |
# 配置 CMake 使用 MinGW 编译器
set CC=C:/tools/mingw/bin/gcc.exe
set CXX=C:/tools/mingw/bin/g++.exe
set CC=C:\ProgramData\mingw64\mingw32\bin\gcc.exe
set CXX=C:\ProgramData\mingw64\mingw32\bin\g++.exe
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_C_COMPILER=C:/tools/mingw/bin/gcc.exe -DCMAKE_CXX_COMPILER=C:/tools/mingw/bin/g++.exe
# 编译项目
Expand Down

0 comments on commit da12d85

Please sign in to comment.