| 1 |
From 4c9f1091b8633a3fd399ae7faa784df2bfdbff86 Mon Sep 17 00:00:00 2001 |
| 2 |
From: Andrew Stitcher <[email protected]> |
| 3 |
Date: Fri, 6 Jan 2023 11:59:19 -0500 |
| 4 |
Subject: PROTON-2669: Update cmake minimum to 3.16 |
| 5 |
|
| 6 |
--- |
| 7 |
CMakeLists.txt | 11 +---------- |
| 8 |
1 file changed, 1 insertion(+), 10 deletions(-) |
| 9 |
|
| 10 |
diff --git a/CMakeLists.txt b/CMakeLists.txt |
| 11 |
index cc5244b6..af066093 100644 |
| 12 |
--- a/CMakeLists.txt |
| 13 |
+++ b/CMakeLists.txt |
| 14 |
@@ -17,7 +17,7 @@ |
| 15 |
# under the License. |
| 16 |
# |
| 17 |
|
| 18 |
-cmake_minimum_required (VERSION 2.8.12) |
| 19 |
+cmake_minimum_required (VERSION 3.16) |
| 20 |
|
| 21 |
project (Proton C) |
| 22 |
|
| 23 |
@@ -140,9 +140,6 @@ endif() |
| 24 |
if (CMAKE_SYSTEM_NAME STREQUAL "Darwin") |
| 25 |
set (NOENABLE_WARNING_ERROR ON) |
| 26 |
set (LIB_SUFFIX "") |
| 27 |
- if (POLICY CMP0042) |
| 28 |
- cmake_policy (SET CMP0042 NEW) |
| 29 |
- endif () |
| 30 |
endif () |
| 31 |
|
| 32 |
# Benchmarks should be disabled by default |
| 33 |
@@ -370,12 +367,6 @@ if(SWIG_FOUND) |
| 34 |
# Add any new swig bindings here - the directory name must be the same as the binding name |
| 35 |
list(APPEND BINDINGS python ruby) |
| 36 |
|
| 37 |
- if (POLICY CMP0078) |
| 38 |
- cmake_policy(SET CMP0078 NEW) |
| 39 |
- endif() |
| 40 |
- if (POLICY CMP0086) |
| 41 |
- cmake_policy(SET CMP0086 NEW) |
| 42 |
- endif() |
| 43 |
include(UseSWIG) |
| 44 |
|
| 45 |
# All swig modules should include ${PROTON_HEADERS} in SWIG_MODULE_<name>_EXTRA_DEPS |
| 46 |
-- |
| 47 |
2.30.2 |
| 48 |
|