[xerces-c] 02/02: XERCESC-2226: Update minimum CMake version to 3.12

[email protected]
Newsgroups gmane.text.xml.xerces-c.devel
Message-ID <[email protected]>
This is an automated email from the ASF dual-hosted git repository.

scantor pushed a commit to branch xerces-3.2
in repository https://gitbox.apache.org/repos/asf/xerces-c.git

commit b1a22d46abcc61857f07d67f3b54256da3d951e3
Author: Roger Leigh <[email protected]>
AuthorDate: Mon Sep 20 22:07:33 2021 +0100

    XERCESC-2226: Update minimum CMake version to 3.12
    
    * Required for CURL imported target usage in XERCESC-2225
    * Drop old cmake_policy settings which are now the default behaviour
---
 CMakeLists.txt | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4254f89bb..33bc40f41 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,18 +19,7 @@
 
 # Run "cmake" to generate the build files for your platform
 
-cmake_minimum_required(VERSION 3.2.0)
-
-# Use new variable expansion policy.
-if (POLICY CMP0053)
-  cmake_policy(SET CMP0053 NEW)
-endif(POLICY CMP0053)
-if (POLICY CMP0054)
-  cmake_policy(SET CMP0054 NEW)
-endif(POLICY CMP0054)
-if (POLICY CMP0067)
-  cmake_policy(SET CMP0067 NEW)
-endif(POLICY CMP0067)
+cmake_minimum_required(VERSION 3.12.0)
 
 # Try C++14, then fall back to C++11 and C++98.  Used for feature tests
 # for optional features.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.