55# shipped with this file and also available at: https://github.com/seqan/seqan3/blob/master/LICENSE.md
66# -----------------------------------------------------------------------------------------------------
77
8- cmake_minimum_required (VERSION 3.4 )
8+ cmake_minimum_required (VERSION 3.5 )
99project (seqan3_test_external_project CXX)
1010
1111include (../seqan3-test .cmake) # for SEQAN3_EXTERNAL_PROJECT_CMAKE_ARGS, SEQAN3_VERSION
@@ -21,9 +21,9 @@ endif ()
2121option (SEQAN3_EXTERNAL_PROJECT_FIND_DEBUG_MODE
2222 "Enable this option if you want to get a detailed list which paths were considered for find_package(...)" false )
2323
24- if (NOT ${CMAKE_VERSION} VERSION_LESS 3.14) # cmake 3.14 version is needed to install cmake 3.4 .
24+ if (NOT ${CMAKE_VERSION} VERSION_LESS 3.14) # cmake 3.14 version is needed to install cmake 3.5 .
2525 set (SEQAN3_EXTERNAL_PROJECT_CMAKE_COMMAND "${CMAKE_COMMAND} " )
26- include (use-cmake3.4 .cmake) # ensure that seqan3 can be used with cmake 3.4
26+ include (use-cmake3.5 .cmake) # ensure that seqan3 can be used with cmake 3.5
2727else ()
2828 set (SEQAN3_EXTERNAL_PROJECT_CMAKE_COMMAND "${CMAKE_COMMAND} " )
2929endif ()
@@ -39,16 +39,16 @@ endif ()
3939# fetch_content
4040#
4141# If your current CMake version is >= 3.14, we
42- # * download CMake 3.4
43- # * test test/external_project/seqan3_submodule_add_subdirectory/CMakeLists.txt with CMake 3.4
44- # * test test/external_project/seqan3_submodule_find_package/CMakeLists.txt with CMake 3.4
45- # * test test/external_project/seqan3_installed/CMakeLists.txt with CMake 3.4
42+ # * download CMake 3.5
43+ # * test test/external_project/seqan3_submodule_add_subdirectory/CMakeLists.txt with CMake 3.5
44+ # * test test/external_project/seqan3_submodule_find_package/CMakeLists.txt with CMake 3.5
45+ # * test test/external_project/seqan3_installed/CMakeLists.txt with CMake 3.5
4646# * test test/external_project/seqan3_fetch_content_zip/CMakeLists.txt with your current CMake version
4747
4848# 1) This tests test/external_project/seqan3_submodule_add_subdirectory/CMakeLists.txt
4949# That means we use add_subdirectory directly on seqan3's top level CMakeLists.txt.
5050# This will automatically call find_package and expose our seqan3::seqan3 target.
51- # This is expected to work with CMake >= 3.4 .
51+ # This is expected to work with CMake >= 3.5 .
5252# (ExternalProject_Add simulates a fresh and separate invocation of cmake ../)
5353ExternalProject_Add (
5454 seqan3_submodule_add_subdirectory
@@ -62,7 +62,7 @@ ExternalProject_Add (
6262# 2) This tests test/external_project/seqan3_submodule_find_package/CMakeLists.txt
6363# We have a seqan3 checkout somewhere and we point CMAKE_PREFIX_PATH to <checkout>/seqan3/build_system
6464# and then use `find_package` to find `seqan3-config.cmake` which exposes our `seqan3::seqan3` target.
65- # This is expected to work with CMake >= 3.4 .
65+ # This is expected to work with CMake >= 3.5 .
6666# (ExternalProject_Add simulates a fresh and separate invocation of cmake ../)
6767ExternalProject_Add (
6868 seqan3_submodule_find_package
@@ -82,7 +82,7 @@ ExternalProject_Add (
8282# https://github.com/seqan/seqan3/releases, and unzipping it to some folder and making
8383# that path globally accessible by CMAKE_SYSTEM_PREFIX_PATH.
8484# We need CMake >= 3.14 to be able to package seqan3, but we actually expect that this
85- # test works with CMake >= 3.4 .
85+ # test works with CMake >= 3.5 .
8686# (ExternalProject_Add simulates a fresh and separate invocation of cmake ../)
8787if (NOT ${CMAKE_VERSION} VERSION_LESS 3.14) # cmake 3.14 version is needed to install seqan3.
8888 ExternalProject_Add (
0 commit comments