Skip to content

Commit 05b9df7

Browse files
committed
another try
1 parent 8f556ff commit 05b9df7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/actions/build/action.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,22 @@ 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万行超えの警告が出るので一時的な処置として警告を抑制しています。
106107

107-
108108
- name: Build by CMake for Unity
109109
run: cmake --build ${{github.workspace}}/out/build/x64-Release-Unity --config ${{env.BUILD_TYPE}}
110110
shell: ${{ inputs.shell_type }}
111111

112+
- name: Patch libcitygml CMakeLists.txt
113+
run: >
114+
FILE="3rdparty/libcitygml/CMakeLists.txt"
115+
if grep -q "cmake_minimum_required(VERSION 2.8)" "$FILE"; then
116+
sed -i '' 's/CMAKE_MINIMUM_REQUIRED(VERSION 3.0.0 FATAL_ERROR)/CMAKE_MINIMUM_REQUIRED(VERSION 3.5)/' "$FILE"
117+
fi
118+
112119
- name: Configure CMake for Unreal for non-Windows
113120
if: runner.os != 'Windows'
114121
run: >

0 commit comments

Comments
 (0)