mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Bump minimum required CMake to 3.26
* Bump minimum required CMake to 3.26 Recently, dependencies using vcpkg was updated, including boost 1.86. When boost 1.86 is linked by ResInsight, the minimum required CMake version is 3.26. It is possible to manage dependencies manually without using vcpkg. In this case, the ResInsight build might work with a lower CMake requirement. This scenario is not tested by the ResInsight team. * Use minimum required version of CMake when building on GitHub Action
This commit is contained in:
2
.github/workflows/ResInsightWithCache.yml
vendored
2
.github/workflows/ResInsightWithCache.yml
vendored
@@ -99,7 +99,7 @@ jobs:
|
|||||||
- name: Use CMake
|
- name: Use CMake
|
||||||
uses: lukka/get-cmake@latest
|
uses: lukka/get-cmake@latest
|
||||||
with:
|
with:
|
||||||
cmakeVersion: "~3.28.0"
|
cmakeVersion: "~3.26.0"
|
||||||
|
|
||||||
- name: Use MSVC (Windows)
|
- name: Use MSVC (Windows)
|
||||||
uses: ilammy/msvc-dev-cmd@v1
|
uses: ilammy/msvc-dev-cmd@v1
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
cmake_minimum_required(VERSION 3.15)
|
# The way boost is configured and used in Boost 1.86 requires CMake 3.26
|
||||||
|
cmake_minimum_required(VERSION 3.26)
|
||||||
|
|
||||||
include(CheckCSourceCompiles)
|
include(CheckCSourceCompiles)
|
||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
|
|||||||
Reference in New Issue
Block a user