Skip to content

Commit 55d7a2c

Browse files
committed
cmake version 強制変更 3rd try
1 parent df25bcf commit 55d7a2c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/actions/build/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ runs:
9090
shell: ${{ inputs.shell_type }}
9191

9292
# Macで使うコンパイラを明示
93-
- name: Setup Additional Cmake Options in Mac
93+
- name: Setup Additional Cmake Options in non-Windows
9494
if: runner.os != 'Windows'
9595
run: |
9696
echo "ADDITIONAL_CMAKE_OPTIONS=-DCMAKE_POLICY_VERSION_MINIMUM=3.5" >> $env:GITHUB_ENV
@@ -107,6 +107,7 @@ runs:
107107
-D BUILD_LIB_TYPE=dynamic
108108
-D RUNTIME_LIB_TYPE=MT
109109
-D CMAKE_OSX_ARCHITECTURES:STRING="${{ inputs.arch }}"
110+
-D CMAKE_POLICY_VERSION=3.5
110111
${{ env.ADDITIONAL_CMAKE_OPTIONS }}
111112
shell: ${{ inputs.shell_type }}
112113
# 10万行超えの警告が出るので一時的な処置として警告を抑制しています。

0 commit comments

Comments
 (0)