From 8e75c40c8690ed9ad1c0d629f5ef3a58f4030b65 Mon Sep 17 00:00:00 2001 From: Hiroshi Miura Date: Wed, 22 Jan 2020 08:42:01 +0900 Subject: [PATCH] CMake: change minimum version requirement and add comments (#1172) Signed-off-by: Hiroshi Miura --- CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9cd40572..ffebedaf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,11 @@ +# Minimum requirement for CMake version. +# 3.13 or later for Linux and Mac OSX. +# it causes error for build with cmake 3.12 or earlier. +# 3.12 or later for Windows +# because Qt5.9 only support MSVC2017, +# and MSVC2017 is integrated with cmake 3.12. cmake_policy(SET CMP0042 NEW) -cmake_minimum_required (VERSION 3.13) +cmake_minimum_required (VERSION 3.12) project(VNote VERSION 2.8.2 DESCRIPTION "VNote is a markdown note taking application" HOMEPAGE_URL "https://tamlok.github.io/vnote"