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)