diff --git a/CMakeLists.txt b/CMakeLists.txt index caf27afe9c..c790043002 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ # SeqAn3. To build tests, run cmake on one of the sub-folders in this directory # which contain a CMakeLists.txt. -cmake_minimum_required (VERSION 3.5) +cmake_minimum_required (VERSION 3.5...3.30) find_path (SEQAN3_MODULE_PATH "seqan3-config.cmake" HINTS "${CMAKE_CURRENT_LIST_DIR}/build_system/") list (APPEND CMAKE_MODULE_PATH "${SEQAN3_MODULE_PATH}") diff --git a/build_system/seqan3-config.cmake b/build_system/seqan3-config.cmake index cb7988c91e..3983fe4159 100644 --- a/build_system/seqan3-config.cmake +++ b/build_system/seqan3-config.cmake @@ -61,7 +61,7 @@ # # ============================================================================ -cmake_minimum_required (VERSION 3.5...3.12) +cmake_minimum_required (VERSION 3.5...3.30) # ---------------------------------------------------------------------------- # Set initial variables diff --git a/build_system/seqan3-install.cmake b/build_system/seqan3-install.cmake index 32dc049a71..48ab1dcf8e 100644 --- a/build_system/seqan3-install.cmake +++ b/build_system/seqan3-install.cmake @@ -4,7 +4,7 @@ # This file describes where and which parts of SeqAn3 should be installed to. -cmake_minimum_required (VERSION 3.14) +cmake_minimum_required (VERSION 3.14...3.30) include (GNUInstallDirs) diff --git a/build_system/seqan3-package.cmake b/build_system/seqan3-package.cmake index 0ff48b9d1c..ed4b97dfd0 100644 --- a/build_system/seqan3-package.cmake +++ b/build_system/seqan3-package.cmake @@ -4,7 +4,7 @@ # This file describes how SeqAn3 will be packaged. -cmake_minimum_required (VERSION 3.7) +cmake_minimum_required (VERSION 3.7...3.30) set (CPACK_GENERATOR "TXZ") diff --git a/doc/setup/quickstart_cmake/index.md b/doc/setup/quickstart_cmake/index.md index 7fce8afcf9..8701f2775b 100644 --- a/doc/setup/quickstart_cmake/index.md +++ b/doc/setup/quickstart_cmake/index.md @@ -189,7 +189,7 @@ For example, after adding `another_program.cpp` your `CMakeLists.txt` may look l # Including SeqAn3 as external project ```cmake -cmake_minimum_required (VERSION 3.14) +cmake_minimum_required (VERSION 3.14...3.30) project (my_app LANGUAGES CXX VERSION 1.0.0) diff --git a/test/api_stability/CMakeLists.txt b/test/api_stability/CMakeLists.txt index c91d2d05ed..00d7c53723 100644 --- a/test/api_stability/CMakeLists.txt +++ b/test/api_stability/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: CC0-1.0 -cmake_minimum_required (VERSION 3.8) +cmake_minimum_required (VERSION 3.8...3.30) project (api_stability) diff --git a/test/cmake/add_subdirectories.cmake b/test/cmake/add_subdirectories.cmake index 652a91a09e..38fbd9d3e2 100644 --- a/test/cmake/add_subdirectories.cmake +++ b/test/cmake/add_subdirectories.cmake @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.10) +cmake_minimum_required (VERSION 3.10...3.30) # Calls add_subdirectory on all (direct) subdirectories of the given directory if they contain a `CMakeLists.txt` # diff --git a/test/cmake/diagnostics/list_missing_unit_tests.cmake b/test/cmake/diagnostics/list_missing_unit_tests.cmake index a6c2f29b33..edc1fd0043 100644 --- a/test/cmake/diagnostics/list_missing_unit_tests.cmake +++ b/test/cmake/diagnostics/list_missing_unit_tests.cmake @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.10) +cmake_minimum_required (VERSION 3.10...3.30) set (seqan3_test_include_targets "" diff --git a/test/cmake/diagnostics/list_unused_snippets.cmake b/test/cmake/diagnostics/list_unused_snippets.cmake index 170033bbb5..2302d3096f 100644 --- a/test/cmake/diagnostics/list_unused_snippets.cmake +++ b/test/cmake/diagnostics/list_unused_snippets.cmake @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.10) +cmake_minimum_required (VERSION 3.10...3.30) set (seqan3_test_snippets "" diff --git a/test/cmake/diagnostics/list_unused_unit_tests.cmake b/test/cmake/diagnostics/list_unused_unit_tests.cmake index 5828454885..af474fed11 100644 --- a/test/cmake/diagnostics/list_unused_unit_tests.cmake +++ b/test/cmake/diagnostics/list_unused_unit_tests.cmake @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.10) +cmake_minimum_required (VERSION 3.10...3.30) set (seqan3_test_targets "" diff --git a/test/cmake/include_dependencies/add_include_dependencies.cmake b/test/cmake/include_dependencies/add_include_dependencies.cmake index 32fec3492f..53adf21b43 100644 --- a/test/cmake/include_dependencies/add_include_dependencies.cmake +++ b/test/cmake/include_dependencies/add_include_dependencies.cmake @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.10) +cmake_minimum_required (VERSION 3.10...3.30) include (diagnostics/list_missing_unit_tests) diff --git a/test/cmake/include_dependencies/generate_include_dependencies.cmake b/test/cmake/include_dependencies/generate_include_dependencies.cmake index 02ee06d631..0b3aafc476 100644 --- a/test/cmake/include_dependencies/generate_include_dependencies.cmake +++ b/test/cmake/include_dependencies/generate_include_dependencies.cmake @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.12) +cmake_minimum_required (VERSION 3.12...3.30) function (generate_include_dependencies_impl) cmake_parse_arguments ( diff --git a/test/cmake/seqan3_generate_snippet.cmake b/test/cmake/seqan3_generate_snippet.cmake index 68426d2f42..51b169dfd2 100644 --- a/test/cmake/seqan3_generate_snippet.cmake +++ b/test/cmake/seqan3_generate_snippet.cmake @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.10) +cmake_minimum_required (VERSION 3.10...3.30) # Generate snippets from a source_snippet # diff --git a/test/cmake/seqan3_macro_benchmark.cmake b/test/cmake/seqan3_macro_benchmark.cmake index 1b4456ee9a..eb2b0cef11 100644 --- a/test/cmake/seqan3_macro_benchmark.cmake +++ b/test/cmake/seqan3_macro_benchmark.cmake @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.10) +cmake_minimum_required (VERSION 3.10...3.30) # Adds a macro benchmark target and a test which executes that macro benchmark # diff --git a/test/cmake/seqan3_path_longest_stem.cmake b/test/cmake/seqan3_path_longest_stem.cmake index bd2cd333b8..f0937f7384 100644 --- a/test/cmake/seqan3_path_longest_stem.cmake +++ b/test/cmake/seqan3_path_longest_stem.cmake @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.10) +cmake_minimum_required (VERSION 3.10...3.30) # A compatible function for cmake < 3.20 that basically returns `cmake_path (GET STEM LAST_ONLY )` function (seqan3_path_longest_stem out_var filename) diff --git a/test/cmake/seqan3_require_benchmark.cmake b/test/cmake/seqan3_require_benchmark.cmake index fbfec8c83b..4ad12fa1e2 100644 --- a/test/cmake/seqan3_require_benchmark.cmake +++ b/test/cmake/seqan3_require_benchmark.cmake @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.16) +cmake_minimum_required (VERSION 3.16...3.30) # Exposes the google-benchmark target `benchmark` and `benchmark_main`. # CMake 3.24: https://cmake.org/cmake/help/latest/module/FetchContent.html#variable:FETCHCONTENT_TRY_FIND_PACKAGE_MODE diff --git a/test/cmake/seqan3_require_ccache.cmake b/test/cmake/seqan3_require_ccache.cmake index d5ed971880..39986f12d8 100644 --- a/test/cmake/seqan3_require_ccache.cmake +++ b/test/cmake/seqan3_require_ccache.cmake @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.15) +cmake_minimum_required (VERSION 3.15...3.30) # Uses `ccache` to cache build results. # diff --git a/test/cmake/seqan3_require_test.cmake b/test/cmake/seqan3_require_test.cmake index 1a97a2d1ef..2146d68ce8 100644 --- a/test/cmake/seqan3_require_test.cmake +++ b/test/cmake/seqan3_require_test.cmake @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.16) +cmake_minimum_required (VERSION 3.16...3.30) # Exposes the google-test targets `gtest` and `gtest_main`. # CMake 3.24: https://cmake.org/cmake/help/latest/module/FetchContent.html#variable:FETCHCONTENT_TRY_FIND_PACKAGE_MODE diff --git a/test/cmake/seqan3_test_component.cmake b/test/cmake/seqan3_test_component.cmake index 52d2b58bd5..a14523efc9 100644 --- a/test/cmake/seqan3_test_component.cmake +++ b/test/cmake/seqan3_test_component.cmake @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.10) +cmake_minimum_required (VERSION 3.10...3.30) include (seqan3_path_longest_stem) diff --git a/test/cmake/seqan3_test_files.cmake b/test/cmake/seqan3_test_files.cmake index 820fa11652..c3642acded 100644 --- a/test/cmake/seqan3_test_files.cmake +++ b/test/cmake/seqan3_test_files.cmake @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.10) +cmake_minimum_required (VERSION 3.10...3.30) # Finds all files relative to the `test_base_path_` which satisfy the given file pattern. # diff --git a/test/coverage/CMakeLists.txt b/test/coverage/CMakeLists.txt index 10046684d1..c370ed1d03 100644 --- a/test/coverage/CMakeLists.txt +++ b/test/coverage/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.10...3.22) +cmake_minimum_required (VERSION 3.10...3.30) project (seqan3_test_coverage CXX) # Add a custom build type: Coverage diff --git a/test/documentation/CMakeLists.txt b/test/documentation/CMakeLists.txt index dc582f007b..e7ee6106e7 100644 --- a/test/documentation/CMakeLists.txt +++ b/test/documentation/CMakeLists.txt @@ -3,7 +3,7 @@ # SPDX-License-Identifier: BSD-3-Clause # Minimum cmake version -cmake_minimum_required (VERSION 3.7) +cmake_minimum_required (VERSION 3.7...3.30) ### Find seqan3 include (../../build_system/seqan3-config-version.cmake) diff --git a/test/documentation/seqan3-doxygen-layout.cmake b/test/documentation/seqan3-doxygen-layout.cmake index 63de6e5713..7649439997 100644 --- a/test/documentation/seqan3-doxygen-layout.cmake +++ b/test/documentation/seqan3-doxygen-layout.cmake @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.10) +cmake_minimum_required (VERSION 3.10...3.30) include (${SEQAN3_INCLUDE_DIR}/../test/cmake/seqan3_test_files.cmake) diff --git a/test/documentation/seqan3-doxygen-package.cmake b/test/documentation/seqan3-doxygen-package.cmake index 6d0ec5d730..2c1b1d74b1 100644 --- a/test/documentation/seqan3-doxygen-package.cmake +++ b/test/documentation/seqan3-doxygen-package.cmake @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.10) +cmake_minimum_required (VERSION 3.10...3.30) set (CPACK_GENERATOR "TXZ") diff --git a/test/documentation/seqan3-doxygen.cmake b/test/documentation/seqan3-doxygen.cmake index 9eb5618634..f55eb21282 100644 --- a/test/documentation/seqan3-doxygen.cmake +++ b/test/documentation/seqan3-doxygen.cmake @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.10) +cmake_minimum_required (VERSION 3.10...3.30) ### Find doxygen and dependency to DOT tool message (STATUS "Searching for doxygen.") diff --git a/test/external_project/CMakeLists.txt b/test/external_project/CMakeLists.txt index c3e30b753f..0792f05864 100644 --- a/test/external_project/CMakeLists.txt +++ b/test/external_project/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.5) +cmake_minimum_required (VERSION 3.5...3.30) project (seqan3_test_external_project CXX) include (../seqan3-test.cmake) # for SEQAN3_EXTERNAL_PROJECT_CMAKE_ARGS, SEQAN3_VERSION diff --git a/test/external_project/install-seqan3.cmake b/test/external_project/install-seqan3.cmake index 48708181fd..3618c5870f 100644 --- a/test/external_project/install-seqan3.cmake +++ b/test/external_project/install-seqan3.cmake @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.14) +cmake_minimum_required (VERSION 3.14...3.30) # install and package seqan3 library ExternalProject_Add ( diff --git a/test/external_project/install-sharg.cmake b/test/external_project/install-sharg.cmake index 9c08688c75..3cc8503afb 100644 --- a/test/external_project/install-sharg.cmake +++ b/test/external_project/install-sharg.cmake @@ -2,12 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.14) - -# https://cmake.org/cmake/help/latest/policy/CMP0135.html -if (POLICY CMP0135) - cmake_policy (SET CMP0135 NEW) -endif () +cmake_minimum_required (VERSION 3.14...3.30) # We can only set one CMAKE_SYSTEM_PREFIX_PATH, i.e. it cannot be a list. # Hence we need to reuse the SEQAN3_SYSTEM_PREFIX. diff --git a/test/external_project/seqan3_fetch_content_zip/CMakeLists.txt b/test/external_project/seqan3_fetch_content_zip/CMakeLists.txt index 0f8e474de0..283e40c82c 100644 --- a/test/external_project/seqan3_fetch_content_zip/CMakeLists.txt +++ b/test/external_project/seqan3_fetch_content_zip/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.14) +cmake_minimum_required (VERSION 3.14...3.30) project (seqan3_app CXX) # --- helper scripts diff --git a/test/external_project/seqan3_installed/CMakeLists.txt b/test/external_project/seqan3_installed/CMakeLists.txt index b6a5152d32..b8b448486b 100644 --- a/test/external_project/seqan3_installed/CMakeLists.txt +++ b/test/external_project/seqan3_installed/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.5) +cmake_minimum_required (VERSION 3.5...3.30) project (seqan3_app CXX) # --- helper scripts diff --git a/test/external_project/seqan3_setup_tutorial/CMakeLists.txt b/test/external_project/seqan3_setup_tutorial/CMakeLists.txt index e0adcf4e72..e6118a0d00 100644 --- a/test/external_project/seqan3_setup_tutorial/CMakeLists.txt +++ b/test/external_project/seqan3_setup_tutorial/CMakeLists.txt @@ -14,7 +14,7 @@ file (COPY "${CMAKE_SOURCE_DIR}/../src/hello_world.cpp" DESTINATION "${CMAKE_CUR set (CMAKE_CURRENT_SOURCE_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../../source") ## [adding_files] -cmake_minimum_required (VERSION 3.5) +cmake_minimum_required (VERSION 3.5...3.30) project (seqan3_tutorial CXX) # add seqan3 to search path diff --git a/test/external_project/seqan3_setup_tutorial_with_sharg/CMakeLists.txt b/test/external_project/seqan3_setup_tutorial_with_sharg/CMakeLists.txt index 91b514682c..55e722a517 100644 --- a/test/external_project/seqan3_setup_tutorial_with_sharg/CMakeLists.txt +++ b/test/external_project/seqan3_setup_tutorial_with_sharg/CMakeLists.txt @@ -16,7 +16,7 @@ set (CMAKE_CURRENT_SOURCE_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../../source") list (APPEND CMAKE_PREFIX_PATH "${SHARG_ROOT}/build_system") ## [adding_files] -cmake_minimum_required (VERSION 3.5) +cmake_minimum_required (VERSION 3.5...3.30) project (seqan3_tutorial CXX) # add seqan3 to search path diff --git a/test/external_project/seqan3_setup_tutorial_with_sharg_installed/CMakeLists.txt b/test/external_project/seqan3_setup_tutorial_with_sharg_installed/CMakeLists.txt index 18021d8447..075029349e 100644 --- a/test/external_project/seqan3_setup_tutorial_with_sharg_installed/CMakeLists.txt +++ b/test/external_project/seqan3_setup_tutorial_with_sharg_installed/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.5) +cmake_minimum_required (VERSION 3.5...3.30) project (seqan3_app CXX) # --- helper scripts diff --git a/test/external_project/seqan3_submodule_add_subdirectory/CMakeLists.txt b/test/external_project/seqan3_submodule_add_subdirectory/CMakeLists.txt index 2632b6753e..c6a02c6df3 100644 --- a/test/external_project/seqan3_submodule_add_subdirectory/CMakeLists.txt +++ b/test/external_project/seqan3_submodule_add_subdirectory/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.5) +cmake_minimum_required (VERSION 3.5...3.30) project (seqan3_app CXX) # --- helper scripts diff --git a/test/external_project/seqan3_submodule_find_package/CMakeLists.txt b/test/external_project/seqan3_submodule_find_package/CMakeLists.txt index ced7495965..b6644a812a 100644 --- a/test/external_project/seqan3_submodule_find_package/CMakeLists.txt +++ b/test/external_project/seqan3_submodule_find_package/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.5) +cmake_minimum_required (VERSION 3.5...3.30) project (seqan3_app CXX) # --- helper scripts diff --git a/test/header/CMakeLists.txt b/test/header/CMakeLists.txt index 9d366197c9..3498f90018 100644 --- a/test/header/CMakeLists.txt +++ b/test/header/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.12...3.22) +cmake_minimum_required (VERSION 3.12...3.30) project (seqan3_header_test CXX) include (../seqan3-test.cmake) diff --git a/test/header/generate_header_source.cmake b/test/header/generate_header_source.cmake index a161b8e8d8..f5e4e111fa 100644 --- a/test/header/generate_header_source.cmake +++ b/test/header/generate_header_source.cmake @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.10) +cmake_minimum_required (VERSION 3.10...3.30) option (HEADER_FILE_ABSOLUTE "") option (HEADER_FILE_INCLUDE "") diff --git a/test/macro_benchmark/CMakeLists.txt b/test/macro_benchmark/CMakeLists.txt index d159f7ce5d..0ac73fcc43 100644 --- a/test/macro_benchmark/CMakeLists.txt +++ b/test/macro_benchmark/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.10...3.22) +cmake_minimum_required (VERSION 3.10...3.30) project (seqan3_test_unit CXX) include (../seqan3-test.cmake) diff --git a/test/performance/CMakeLists.txt b/test/performance/CMakeLists.txt index d21b4c534c..320298afb1 100644 --- a/test/performance/CMakeLists.txt +++ b/test/performance/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.10...3.22) +cmake_minimum_required (VERSION 3.10...3.30) project (seqan3_test_performance CXX) include (../seqan3-test.cmake) diff --git a/test/seqan3-test.cmake b/test/seqan3-test.cmake index c6be495b32..510b0d3fe0 100644 --- a/test/seqan3-test.cmake +++ b/test/seqan3-test.cmake @@ -6,7 +6,7 @@ # SeqAn3. To build tests, run cmake on one of the sub-folders in this directory # which contain a CMakeLists.txt. -cmake_minimum_required (VERSION 3.10) +cmake_minimum_required (VERSION 3.10...3.30) # require SeqAn3 package find_package (SeqAn3 REQUIRED HINTS ${CMAKE_CURRENT_LIST_DIR}/../build_system) diff --git a/test/snippet/CMakeLists.txt b/test/snippet/CMakeLists.txt index a601b0af87..db9a8afde5 100644 --- a/test/snippet/CMakeLists.txt +++ b/test/snippet/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.10...3.22) +cmake_minimum_required (VERSION 3.10...3.30) project (seqan3_test_snippet CXX) include (../seqan3-test.cmake) diff --git a/test/snippet/compare_snippet_output.cmake b/test/snippet/compare_snippet_output.cmake index 6569d872cd..c9fd72a209 100644 --- a/test/snippet/compare_snippet_output.cmake +++ b/test/snippet/compare_snippet_output.cmake @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.10) +cmake_minimum_required (VERSION 3.10...3.30) include ("${CMAKE_CURRENT_LIST_DIR}/../cmake/seqan3_path_longest_stem.cmake") diff --git a/test/unit/CMakeLists.txt b/test/unit/CMakeLists.txt index cbada2e933..fcb9746ed6 100644 --- a/test/unit/CMakeLists.txt +++ b/test/unit/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required (VERSION 3.10...3.22) +cmake_minimum_required (VERSION 3.10...3.30) project (seqan3_test_unit CXX) include (../seqan3-test.cmake)