1
0
mirror of https://github.com/catchorg/Catch2.git synced 2025-04-27 19:35:43 +02:00

Downgrade required CMake to 3.16

We still want to build VS 2017 through AppVeyor, and those images
have CMake 3.16.2 installed. We could install newer CMake as part
of the build, but since we don't use newer CMake features yet, this
is simpler.
This commit is contained in:
Martin Hořeňovský 2025-01-05 23:19:26 +01:00
parent 6e9c34aa20
commit 232e893785
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
7 changed files with 8 additions and 8 deletions
.conan/test_package
CMakeLists.txt
docs
examples
tests
ExtraTests
TestScripts/DiscoverTests
tools/misc

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.20)
cmake_minimum_required(VERSION 3.16)
project(PackageTest CXX)
find_package(Catch2 CONFIG REQUIRED)

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.20)
cmake_minimum_required(VERSION 3.16)
# detect if Catch is being bundled,
# disable testsuite in that case

@ -85,7 +85,7 @@ a target. This function works by running the resulting executable with
#### Usage
```cmake
cmake_minimum_required(VERSION 3.20)
cmake_minimum_required(VERSION 3.16)
project(baz LANGUAGES CXX VERSION 0.0.1)
@ -239,7 +239,7 @@ parsed are *silently ignored*.
#### Usage
```cmake
cmake_minimum_required(VERSION 3.20)
cmake_minimum_required(VERSION 3.16)
project(baz LANGUAGES CXX VERSION 0.0.1)

@ -1,4 +1,4 @@
cmake_minimum_required( VERSION 3.20 )
cmake_minimum_required( VERSION 3.16 )
project( Catch2Examples LANGUAGES CXX )

@ -2,7 +2,7 @@
# Build extra tests.
#
cmake_minimum_required( VERSION 3.20 )
cmake_minimum_required( VERSION 3.16 )
project( Catch2ExtraTests LANGUAGES CXX )

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.20)
cmake_minimum_required(VERSION 3.16)
project(discover-tests-test
LANGUAGES CXX

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.20)
cmake_minimum_required(VERSION 3.16)
project(CatchCoverageHelper)