mirror of
https://github.com/catchorg/Catch2.git
synced 2025-01-10 11:53:30 +01: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:
parent
6e9c34aa20
commit
232e893785
@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.20)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
project(PackageTest CXX)
|
project(PackageTest CXX)
|
||||||
|
|
||||||
find_package(Catch2 CONFIG REQUIRED)
|
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,
|
# detect if Catch is being bundled,
|
||||||
# disable testsuite in that case
|
# disable testsuite in that case
|
||||||
|
@ -85,7 +85,7 @@ a target. This function works by running the resulting executable with
|
|||||||
|
|
||||||
#### Usage
|
#### Usage
|
||||||
```cmake
|
```cmake
|
||||||
cmake_minimum_required(VERSION 3.20)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
|
||||||
project(baz LANGUAGES CXX VERSION 0.0.1)
|
project(baz LANGUAGES CXX VERSION 0.0.1)
|
||||||
|
|
||||||
@ -239,7 +239,7 @@ parsed are *silently ignored*.
|
|||||||
#### Usage
|
#### Usage
|
||||||
|
|
||||||
```cmake
|
```cmake
|
||||||
cmake_minimum_required(VERSION 3.20)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
|
||||||
project(baz LANGUAGES CXX VERSION 0.0.1)
|
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 )
|
project( Catch2Examples LANGUAGES CXX )
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# Build extra tests.
|
# Build extra tests.
|
||||||
#
|
#
|
||||||
|
|
||||||
cmake_minimum_required( VERSION 3.20 )
|
cmake_minimum_required( VERSION 3.16 )
|
||||||
|
|
||||||
project( Catch2ExtraTests LANGUAGES CXX )
|
project( Catch2ExtraTests LANGUAGES CXX )
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.20)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
|
||||||
project(discover-tests-test
|
project(discover-tests-test
|
||||||
LANGUAGES CXX
|
LANGUAGES CXX
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.20)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
|
||||||
project(CatchCoverageHelper)
|
project(CatchCoverageHelper)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user