You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2023/01/12 14:43:32 UTC
[qpid-proton] 03/04: PROTON-2669: Update cmake minimum to 3.16
This is an automated email from the ASF dual-hosted git repository.
astitcher pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git
commit f2fa577a93fc328b2663c52d53d39341f61f02e9
Author: Andrew Stitcher <as...@apache.org>
AuthorDate: Fri Jan 6 11:59:19 2023 -0500
PROTON-2669: Update cmake minimum to 3.16
---
CMakeLists.txt | 11 +----------
INSTALL.md | 2 +-
2 files changed, 2 insertions(+), 11 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e6f94ab2c..30d59bdf9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,7 +17,7 @@
# under the License.
#
-cmake_minimum_required (VERSION 2.8.12)
+cmake_minimum_required (VERSION 3.16)
project (Proton C)
@@ -140,9 +140,6 @@ endif()
if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
set (NOENABLE_WARNING_ERROR ON)
set (LIB_SUFFIX "")
- if (POLICY CMP0042)
- cmake_policy (SET CMP0042 NEW)
- endif ()
endif ()
# Benchmarks should be disabled by default
@@ -370,12 +367,6 @@ if(SWIG_FOUND)
# Add any new swig bindings here - the directory name must be the same as the binding name
list(APPEND BINDINGS python ruby)
- if (POLICY CMP0078)
- cmake_policy(SET CMP0078 NEW)
- endif()
- if (POLICY CMP0086)
- cmake_policy(SET CMP0086 NEW)
- endif()
include(UseSWIG)
# All swig modules should include ${PROTON_HEADERS} in SWIG_MODULE_<name>_EXTRA_DEPS
diff --git a/INSTALL.md b/INSTALL.md
index 9e06b120e..0538ca39e 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -9,7 +9,7 @@ Dependencies
Cross-platform dependencies
- - CMake 2.8.12+
+ - CMake 3.16+
- Python 3.8+ (required to build core C library)
- Swig 1.3+ (for the bindings)
- Ruby 1.9+ (for the Ruby binding)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org