This is an automated email from the ASF dual-hosted git repository. rleigh pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/xerces-c.git
The following commit(s) were added to refs/heads/master by this push: new fd4806a XERCESC-2226: Update minimum CMake version to 3.12 new 88726c3 Merge pull request #38 from rleigh-codelibre/XERCESC-2226_cmake_3.12 fd4806a is described below commit fd4806a5620b7f11c58e3a907e11206b8c04a062 Author: Roger Leigh <rle...@codelibre.net> 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 7ecd6e1..06bdd9d 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++17, then fall back to C++14, C++11 then C++98. Used for feature tests # for optional features. --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org