From 35b2df2a2f7ba0ab988fbcceb7ff00231226e451 Mon Sep 17 00:00:00 2001 From: Veikko Sariola Date: Tue, 14 Apr 2020 21:44:45 +0300 Subject: [PATCH] Require CMake version 3.15, as the Visual Studio statically linking runtime policy was introduced in it. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b409c31..7baa469 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.14) +cmake_minimum_required(VERSION 3.15) # This policy is needed so that we can set the MSVC_RUNTIME to statically linked # i.e. set_property(TARGET 4klang PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>")