diff options
| author | Martin Hořeňovský | 2025-01-05 23:19:26 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2025-01-05 23:45:00 +0100 |
| commit | 232e893785553796b2016b4440a7f3776ed450a0 (patch) | |
| tree | b85eb92e06e6e11aa061885f4dea25e9db5ae98e | |
| parent | 6e9c34aa2015c3dca102451b00b7e0f5af273d9c (diff) | |
| download | catch3-232e893785553796b2016b4440a7f3776ed450a0.tar.gz | |
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.
| -rw-r--r-- | .conan/test_package/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | CMakeLists.txt | 2 | ||||
| -rw-r--r-- | docs/cmake-integration.md | 4 | ||||
| -rw-r--r-- | examples/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | tests/ExtraTests/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | tests/TestScripts/DiscoverTests/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | tools/misc/CMakeLists.txt | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/.conan/test_package/CMakeLists.txt b/.conan/test_package/CMakeLists.txt index 9a28bd5d..f067457f 100644 --- a/.conan/test_package/CMakeLists.txt +++ b/.conan/test_package/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.20) +cmake_minimum_required(VERSION 3.16) project(PackageTest CXX) find_package(Catch2 CONFIG REQUIRED) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8df72e7b..c577231c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 diff --git a/docs/cmake-integration.md b/docs/cmake-integration.md index daeb5f75..cfb9853d 100644 --- a/docs/cmake-integration.md +++ b/docs/cmake-integration.md @@ -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) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 6dcb7623..d45ddfcb 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required( VERSION 3.20 ) +cmake_minimum_required( VERSION 3.16 ) project( Catch2Examples LANGUAGES CXX ) diff --git a/tests/ExtraTests/CMakeLists.txt b/tests/ExtraTests/CMakeLists.txt index 82e71ea6..3c38d675 100644 --- a/tests/ExtraTests/CMakeLists.txt +++ b/tests/ExtraTests/CMakeLists.txt @@ -2,7 +2,7 @@ # Build extra tests. # -cmake_minimum_required( VERSION 3.20 ) +cmake_minimum_required( VERSION 3.16 ) project( Catch2ExtraTests LANGUAGES CXX ) diff --git a/tests/TestScripts/DiscoverTests/CMakeLists.txt b/tests/TestScripts/DiscoverTests/CMakeLists.txt index 64eb251f..f0b49f4d 100644 --- a/tests/TestScripts/DiscoverTests/CMakeLists.txt +++ b/tests/TestScripts/DiscoverTests/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.20) +cmake_minimum_required(VERSION 3.16) project(discover-tests-test LANGUAGES CXX diff --git a/tools/misc/CMakeLists.txt b/tools/misc/CMakeLists.txt index 0091ae6f..59811dfe 100644 --- a/tools/misc/CMakeLists.txt +++ b/tools/misc/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.20) +cmake_minimum_required(VERSION 3.16) project(CatchCoverageHelper) |