Skip to content

Commit c36f3c8

Browse files
committed
another try
1 parent 15128af commit c36f3c8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/actions/build/action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,14 @@ runs:
8181
fi
8282
shell: ${{ inputs.shell_type }}
8383

84+
- name: Patch glTF-SDK CMakeLists.txt
85+
run: |
86+
FILE="3rdparty/glTF-SDK/CMakeLists.txt"
87+
if grep -q "cmake_minimum_required(VERSION 2.8)" "$FILE"; then
88+
sed -i '' 's/cmake_minimum_required(VERSION 2.8)/cmake_minimum_required(VERSION 3.5)/' "$FILE"
89+
fi
90+
shell: ${{ inputs.shell_type }}
91+
8492
# Windowsのみコンパイラパスを通します。
8593
- name: Add msbuild to PATH
8694
if: runner.os == 'Windows'

0 commit comments

Comments
 (0)