File tree Expand file tree Collapse file tree 1 file changed +7
-12
lines changed
Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change 4040 run : sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
4141 shell : ${{ inputs.shell_type }}
4242
43+ # CMakeのセットアップ
44+ - name : Setup CMake
45+ uses : lukka/get-cmake@latest
46+ with :
47+ cmakeVersion : ' 3.25.2' # ← 使用したいバージョンを指定
48+ shell : ${{ inputs.shell_type }}
49+
4350 # Unreal Engineと合わせたバージョンでMSVCを用意する準備として、始めからある望みでないバージョンを消します。
4451 # 参考: https://github.com/actions/runner-images/issues/9701
4552 - name : Delete components
7380 $process = Start-Process -FilePath cmd.exe -ArgumentList $Arguments -Wait -PassThru -WindowStyle Hidden
7481 shell : ${{ inputs.shell_type }}
7582
76- - name : Patch CMakeLists.txt
77- run : |
78- FILE="3rdparty/libcitygml/CMakeLists.txt"
79- if grep -q "CMAKE_MINIMUM_REQUIRED(VERSION 3.0.0 FATAL_ERROR)" "$FILE"; then
80- sed -i 's/CMAKE_MINIMUM_REQUIRED(VERSION 3.0.0 FATAL_ERROR)/cmake_minimum_required(VERSION 3.8)/' "$FILE"
81- fi
82- FILE="3rdparty/glTF-SDK/CMakeLists.txt"
83- if grep -q "cmake_minimum_required(VERSION 3.5)" "$FILE"; then
84- sed -i 's/cmake_minimum_required(VERSION 3.5)/cmake_minimum_required(VERSION 3.8)/' "$FILE"
85- fi
86- shell : ${{ inputs.shell_type }}
87-
8883# Windowsのみコンパイラパスを通します。
8984 - name : Add msbuild to PATH
9085 if : runner.os == 'Windows'
You can’t perform that action at this time.
0 commit comments