Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/bsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ jobs:
if: ${{ matrix.vm_os == 'freebsd' }}
env:
BUILD_TYPE: ${{ matrix.build_type }}
CMAKE_POLICY_VERSION_MINIMUM: 3.5
# GLBINDING: ${{ matrix.glbinding }} # TODO: Re-add if available
uses: vmactions/[email protected]
with:
Expand Down Expand Up @@ -80,4 +79,4 @@ jobs:
# TODO: Uncomment whenever possible
make -j3 VERBOSE=1
make install DESTDIR="/tmp/supertux" VERBOSE=1
./test_supertux2
./test_supertux2
3 changes: 0 additions & 3 deletions .github/workflows/gnulinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ jobs:
# FIXME: GoogleTest isn't detected by CMake on Ubuntu 18.04
# (also check the step that invokes the tests with ./test_supertux2)
TESTS: ${{ matrix.os == 'ubuntu-22.04' }}
CMAKE_POLICY_VERSION_MINIMUM: 3.5
run: |
cmake --version
$CXX --version
Expand All @@ -169,8 +168,6 @@ jobs:

- name: Build and install
working-directory: build
env:
CMAKE_POLICY_VERSION_MINIMUM: 3.5
run: |
make -j3 VERBOSE=1
make install DESTDIR="/tmp/supertux" VERBOSE=1
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ jobs:
env:
BUILD_TYPE: ${{ matrix.build_type }}
GLBINDING: ${{ matrix.glbinding }}
CMAKE_POLICY_VERSION_MINIMUM: 3.5
run: |
cmake --version
$CXX --version
Expand All @@ -101,8 +100,6 @@ jobs:
-DINSTALL_SUBDIR_SHARE=share/supertux2

- name: Build and install
env:
CMAKE_POLICY_VERSION_MINIMUM: 3.5
working-directory: build
run: |
make -j3 VERBOSE=1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scripting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
cmake --version
mkdir build
cd build
cmake .. -DBUILD_DOCUMENTATION_WITH_SCRIPTING=ON -DCMAKE_POLICY_VERSION_MINIMUM=3.5
cmake .. -DBUILD_DOCUMENTATION_WITH_SCRIPTING=ON
make

- name: Generate scripting reference
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
mkdir build
cd build
# TODO: Re-add -DWERROR=ON when warnings will be fixed
emcmake cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DWARNINGS=ON -DCMAKE_POLICY_VERSION_MINIMUM=3.5 ..
emcmake cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DWARNINGS=ON ..

- name: Sync data folder
working-directory: build
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ jobs:
ARCH: ${{ matrix.arch }}
BUILD_TYPE: ${{ matrix.build_type }}
GLBINDING: ${{ matrix.glbinding }}
CMAKE_POLICY_VERSION_MINIMUM: 3.5
run: |
cmake --version
mkdir build
Expand All @@ -95,7 +94,6 @@ jobs:
working-directory: build
env:
BUILD_TYPE: ${{ matrix.build_type }}
CMAKE_POLICY_VERSION_MINIMUM: 3.5
run: |
cmake --build . --config $Env:BUILD_TYPE

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
# make
#

cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.5)

## Project name to use as command prefix.

Expand Down
2 changes: 1 addition & 1 deletion tools/scripting_docs_gen/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.5)

project(ScriptingDocsGen)
set(CMAKE_CXX_STANDARD 17)
Expand Down
Loading