mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-01 03:37:15 -06:00
CMake: Update/Remove old minimum version check
- Update the minimum required CMake version to 3.15 for Fwk folders that might be used as top level projects. - Remove the minimum required CMake version from projects that is just included from other top level projects. Since version 3.19 CMake has been warning that CMake versions below 3.5 is deprecated and support will be removed in the future. This will silence those warning. By removing the minimum required version check from projects that is not intended as top level projects we avoid redundant checks and simplifies future maintenance. Closes #10957
This commit is contained in:
parent
958587e76c
commit
9701866736
@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 2.8.12)
|
||||
cmake_minimum_required(VERSION 3.15)
|
||||
|
||||
project(CeeApp)
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8.12)
|
||||
|
||||
project(cafHexInterpolator_UnitTests)
|
||||
|
||||
if(MSVC AND (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 19.11))
|
||||
|
@ -1,5 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8.12)
|
||||
|
||||
find_package(Qt5 CONFIG COMPONENTS Core)
|
||||
if(Qt5Core_FOUND)
|
||||
find_package(Qt5 CONFIG REQUIRED Core)
|
||||
|
@ -1,5 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8.12)
|
||||
|
||||
project(cafHexGridIntersectionTools_UnitTests)
|
||||
|
||||
if(MSVC AND (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 19.11))
|
||||
|
@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 2.8.12)
|
||||
cmake_minimum_required(VERSION 3.15)
|
||||
|
||||
project(VizFramework)
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
project(LibFreeType)
|
||||
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
project(LibIo)
|
||||
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
project(LibRegGrid2D)
|
||||
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
project(LibStructGrid)
|
||||
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
project(LibUtilities)
|
||||
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8.12)
|
||||
|
||||
project(QtMinimal)
|
||||
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8.12)
|
||||
|
||||
project(QtMultiView)
|
||||
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8.12)
|
||||
|
||||
project(QtSnippetRunner)
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
cmake_minimum_required(VERSION 3.15)
|
||||
|
||||
# Builds all the unit tests
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
project(LibCore_UnitTests)
|
||||
|
||||
# Compile flags should already be setup by caller
|
||||
|
@ -1,5 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
project(LibGeometry_UnitTests)
|
||||
|
||||
# Compile flags should already be setup by caller
|
||||
|
@ -1,5 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8.12)
|
||||
|
||||
project(LibGuiQt_UnitTests)
|
||||
|
||||
# Compile flags should already be setup by caller
|
||||
|
@ -1,5 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
project(LibIo_UnitTests)
|
||||
|
||||
# Compile flags should already be setup by caller
|
||||
|
@ -1,5 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
project(LibRegGrid2D_UnitTests)
|
||||
|
||||
# Compile flags should already be setup by caller
|
||||
|
@ -1,5 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
project(LibRender_UnitTests)
|
||||
|
||||
# Compile flags should already be setup by caller
|
||||
|
@ -1,5 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
project(LibStructGrid_UnitTests)
|
||||
|
||||
# Compile flags should already be setup by caller
|
||||
|
@ -1,5 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
project(LibUtilities_UnitTests)
|
||||
|
||||
# Compile flags should already be setup by caller
|
||||
|
@ -1,5 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
project(LibViewing_UnitTests)
|
||||
|
||||
# Compile flags should already be setup by caller
|
||||
|
@ -1,5 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
project(SnippetsBasis)
|
||||
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
project(freetype)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user