diff --git a/cmake/ccache.cmake b/cmake/ccache.cmake index f14ec3c0..ebc980a8 100644 --- a/cmake/ccache.cmake +++ b/cmake/ccache.cmake @@ -20,7 +20,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -cmake_minimum_required(VERSION 3.4) +cmake_minimum_required(VERSION 3.5) macro(_enable_ccache_failed) if(NOT _enable_ccache_QUIET) diff --git a/cmake/modern_project_structure.cmake b/cmake/modern_project_structure.cmake index 3accf45e..413709e8 100644 --- a/cmake/modern_project_structure.cmake +++ b/cmake/modern_project_structure.cmake @@ -20,7 +20,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -cmake_minimum_required(VERSION 3.4) +cmake_minimum_required(VERSION 3.5) function(ensure_entry_point) if(NOT CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR) diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index dae84e82..5c4bc3c4 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -20,7 +20,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -cmake_minimum_required(VERSION 3.2) +cmake_minimum_required(VERSION 3.5) add_library(example_utils INTERFACE) target_include_directories(example_utils INTERFACE include) diff --git a/example/glide_computer_lib/CMakeLists.txt b/example/glide_computer_lib/CMakeLists.txt index cd6cbcae..9534977d 100644 --- a/example/glide_computer_lib/CMakeLists.txt +++ b/example/glide_computer_lib/CMakeLists.txt @@ -20,7 +20,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -cmake_minimum_required(VERSION 3.2) +cmake_minimum_required(VERSION 3.5) add_library(glide_computer_lib STATIC glide_computer_lib.cpp include/glide_computer_lib.h) target_link_libraries(glide_computer_lib PRIVATE mp-units::core-fmt PUBLIC mp-units::si mp-units::utility example_utils) diff --git a/example/kalman_filter/CMakeLists.txt b/example/kalman_filter/CMakeLists.txt index f1370018..ef91cdcb 100644 --- a/example/kalman_filter/CMakeLists.txt +++ b/example/kalman_filter/CMakeLists.txt @@ -20,7 +20,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -cmake_minimum_required(VERSION 3.2) +cmake_minimum_required(VERSION 3.5) # # add_example(target ...) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 6ff4d0c9..0b8c706a 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -20,7 +20,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -cmake_minimum_required(VERSION 3.2) +cmake_minimum_required(VERSION 3.5) add_subdirectory(unit_test/runtime) add_subdirectory(unit_test/static) diff --git a/test/unit_test/runtime/CMakeLists.txt b/test/unit_test/runtime/CMakeLists.txt index ae7936b6..29846ad2 100644 --- a/test/unit_test/runtime/CMakeLists.txt +++ b/test/unit_test/runtime/CMakeLists.txt @@ -20,7 +20,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -cmake_minimum_required(VERSION 3.2) +cmake_minimum_required(VERSION 3.5) find_package(Catch2 3 CONFIG REQUIRED) diff --git a/test/unit_test/static/CMakeLists.txt b/test/unit_test/static/CMakeLists.txt index 4429eee4..09e09ffd 100644 --- a/test/unit_test/static/CMakeLists.txt +++ b/test/unit_test/static/CMakeLists.txt @@ -20,7 +20,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -cmake_minimum_required(VERSION 3.2) +cmake_minimum_required(VERSION 3.5) add_library(unit_tests_static_truncating quantity_test.cpp) target_link_libraries(unit_tests_static_truncating PRIVATE mp-units::mp-units)