diff options
author | Vicențiu Ciorbaru <cvicentiu@gmail.com> | 2021-10-19 20:59:41 +0300 |
---|---|---|
committer | Vicențiu Ciorbaru <cvicentiu@gmail.com> | 2021-10-19 20:59:41 +0300 |
commit | a94144be4c8e4669b60374f0c3564318ce4db82e (patch) | |
tree | 748c6e4c0da0fabc63df251592fcff7f24508d0f | |
parent | 1a54cf62f85044a7686dc3becfe39e6b52209484 (diff) | |
download | mariadb-git-bb-10.2-vicentiu.tar.gz |
Update minimum cmake version to 3.1.0bb-10.2-vicentiu
Our cmake files actually depend on cmake 3.1.0 policies. See MDEV-26319,
and PR #1897, where policy CMP0054 NEW is needed to avoid dereferencing
strings that may be variable names.
Most of the code assumes this policy to be in place and additionally,
all our builders use cmake version >= 3.1.
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 67216e0e443..edec472239b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA -CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12) +CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0) IF(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) # Setting build type to RelWithDebInfo as none was specified. |