cmake: Bump minimum required version to 3.10

- We are using GoogleTest module introduced in 3.9.
- None of Debian / Ubuntu distributions versions provides CMake 3.9. The 3.10 is selected because this is the version provided in Ubuntu 18.04 LTS.
This commit is contained in:
Paweł Bylica 2019-12-13 13:26:39 +01:00
parent 651b7714f5
commit 91ed52eb79
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF

View File

@ -2,7 +2,7 @@
# Copyright 2016-2019 The EVMC Authors.
# Licensed under the Apache License, Version 2.0.
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)
if(POLICY CMP0074)
cmake_policy(SET CMP0074 NEW)