Require CMake version 3.15, as the Visual Studio statically linking runtime policy was introduced in it.

This commit is contained in:
Veikko Sariola 2020-04-14 21:44:45 +03:00
parent ce81ef5ef9
commit 35b2df2a2f

View File

@ -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$<$<CONFIG:Debug>:Debug>")