Skip to content

Commit 4620468

Browse files
committed
Revert "Revert "add policy""
This reverts commit aad8e9a.
1 parent aad8e9a commit 4620468

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/actions/build/action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ runs:
100100
-D BUILD_LIB_TYPE=dynamic
101101
-D RUNTIME_LIB_TYPE=MT
102102
-D CMAKE_OSX_ARCHITECTURES:STRING="${{ inputs.arch }}"
103+
-D CMAKE_POLICY_VERSION_MINIMUM=3.5
103104
${{ env.ADDITIONAL_CMAKE_OPTIONS }}
104105
shell: ${{ inputs.shell_type }}
105106
# 10万行超えの警告が出るので一時的な処置として警告を抑制しています。
@@ -121,6 +122,7 @@ runs:
121122
-D BUILD_LIB_TYPE=static
122123
-D RUNTIME_LIB_TYPE=MD
123124
-D CMAKE_OSX_ARCHITECTURES:STRING="${{ inputs.arch }}"
125+
-D CMAKE_POLICY_VERSION_MINIMUM=3.5
124126
${{ env.ADDITIONAL_CMAKE_OPTIONS }}
125127
shell: ${{ inputs.shell_type }}
126128

@@ -137,6 +139,7 @@ runs:
137139
-D CMAKE_CXX_FLAGS="-w"
138140
-D BUILD_LIB_TYPE=static
139141
-D RUNTIME_LIB_TYPE=MD
142+
-D CMAKE_POLICY_VERSION_MINIMUM=3.5
140143
${{ env.ADDITIONAL_CMAKE_OPTIONS }}
141144
shell: ${{ inputs.shell_type }}
142145

0 commit comments

Comments
 (0)