diff --git a/CMakeLists.txt b/CMakeLists.txt index daa6b9b..51f5bfd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,5 @@ -cmake_minimum_required(VERSION 3.1) +# Requires cmake v3.15 for MSVC_RUNTIME_LIBRARY +cmake_minimum_required(VERSION 3.15) project(pdbrn LANGUAGES CXX) # Enforce C++ 17 diff --git a/README.md b/README.md index 892eda8..8b06d6a 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Compilation from source code ### Build with CMake -This project uses cross-platform build system CMake to build from source. It detects your environment and decides the most appropriate compiler toolset. The minimum version of CMake required is `3.1`. To build, simply run +This project uses cross-platform build system CMake to build from source. It detects your environment and decides the most appropriate compiler toolset. The minimum version of CMake required is `3.15`. To build, simply run ``` cmake -B build cmake --build build --config Release