From 3f007fdec5132c573c35916791e85f64b0e263ba Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Wed, 11 May 2022 10:09:06 +0200 Subject: [PATCH] changed: bump minimum cmake version required newer cmake warns that compatibility pre 3.0 will be dropped soon --- 3rdparty/gtest/CMakeLists.txt | 2 +- Apps/Common/CMakeLists.txt | 2 +- CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/3rdparty/gtest/CMakeLists.txt b/3rdparty/gtest/CMakeLists.txt index 621d0f04..e16689c1 100644 --- a/3rdparty/gtest/CMakeLists.txt +++ b/3rdparty/gtest/CMakeLists.txt @@ -45,7 +45,7 @@ endif() # ${gtest_BINARY_DIR}. # Language "C" is required for find_package(Threads). project(gtest CXX C) -cmake_minimum_required(VERSION 2.6.2) +cmake_minimum_required(VERSION 3.0) if (COMMAND set_up_hermetic_build) set_up_hermetic_build() diff --git a/Apps/Common/CMakeLists.txt b/Apps/Common/CMakeLists.txt index 6c13b4de..1bfbdcca 100644 --- a/Apps/Common/CMakeLists.txt +++ b/Apps/Common/CMakeLists.txt @@ -1,6 +1,6 @@ project(IFEMAppCommon) -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.0) include_directories(${PROJECT_SOURCE_DIR}) diff --git a/CMakeLists.txt b/CMakeLists.txt index b46590b9..fbfe5e7b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ project(IFEM) -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.0) set(IFEM_VERSION_MAJOR 0) set(IFEM_VERSION_MINOR 9)