Set minimum CMake version to 3.15 to avoid warnings on MSVC

Set CMake version on top level to avoid warnings on MSVC when warning level is set to something else than the default.

https://stackoverflow.com/questions/58708772/cmake-project-in-visual-studio-gives-flag-override-warnings-command-line-warnin
This commit is contained in:
Magne Sjaastad 2022-08-02 07:52:34 +02:00
parent 530329aed6
commit dbc4aef384

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.12) cmake_minimum_required(VERSION 3.15)
include(CheckCSourceCompiles) include(CheckCSourceCompiles)
project(ResInsight) project(ResInsight)