CMake: change minimum version requirement and add comments (#1172)

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
Hiroshi Miura 2020-01-22 08:42:01 +09:00 committed by Le Tan
parent a7450bc32d
commit 8e75c40c86

View File

@ -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"