1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
From 4c9f1091b8633a3fd399ae7faa784df2bfdbff86 Mon Sep 17 00:00:00 2001
From: Andrew Stitcher <astitcher@apache.org>
Date: Fri, 6 Jan 2023 11:59:19 -0500
Subject: PROTON-2669: Update cmake minimum to 3.16
---
CMakeLists.txt | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cc5244b6..af066093 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
--
2.30.2
|