cmake: Require version 3.19 or newer for VS2019 and Xcode 12+ support

This commit is contained in:
Marshall Greenblatt 2021-11-08 15:28:43 -05:00
parent 088816d496
commit 4c7ac2dddd
1 changed files with 3 additions and 2 deletions

View File

@ -36,7 +36,7 @@
# #
# The below requirements must be met to build this CEF binary distribution. # The below requirements must be met to build this CEF binary distribution.
# #
# - CMake version 2.8.12.1 or newer. # - CMake version 3.19 or newer.
# #
# - Linux requirements: # - Linux requirements:
# Currently supported distributions include Debian 10 (Buster), Ubuntu 18 # Currently supported distributions include Debian 10 (Buster), Ubuntu 18
@ -132,7 +132,8 @@
# Global setup. # Global setup.
# #
cmake_minimum_required(VERSION 2.8.12.1) # For VS2019 and Xcode 12+ support.
cmake_minimum_required(VERSION 3.19)
# Only generate Debug and Release configuration types. # Only generate Debug and Release configuration types.
set(CMAKE_CONFIGURATION_TYPES Debug Release) set(CMAKE_CONFIGURATION_TYPES Debug Release)