File 2054-cmake-4.patch of Package ceph-ceph-18.2.7
diff --git a/src/jaegertracing/opentelemetry-cpp/CMakeLists.txt b/src/jaegertracing/opentelemetry-cpp/CMakeLists.txt index 6d2b274..a9c449e 100755 --- a/src/jaegertracing/opentelemetry-cpp/CMakeLists.txt +++ b/src/jaegertracing/opentelemetry-cpp/CMakeLists.txt @@ -1,8 +1,8 @@ -cmake_minimum_required(VERSION 3.1) # See https://cmake.org/cmake/help/v3.3/policy/CMP0057.html required by certain # versions of gtest cmake_policy(SET CMP0057 NEW) +cmake_minimum_required(VERSION 3.12) # See https://cmake.org/cmake/help/v3.12/policy/CMP0074.html required by certain # version of zlib which is dependeded by cURL. diff --git a/src/zstd/build/cmake/CMakeLists.txt b/src/zstd/build/cmake/CMakeLists.txt index 9b5d7ef..07140ea 100644 --- a/src/zstd/build/cmake/CMakeLists.txt +++ b/src/zstd/build/cmake/CMakeLists.txt @@ -7,7 +7,7 @@ # in the COPYING file in the root directory of this source tree). # ################################################################ -cmake_minimum_required(VERSION 2.8.9 FATAL_ERROR) +cmake_minimum_required(VERSION 3.12 FATAL_ERROR) # As of 2018-12-26 ZSTD has been validated to build with cmake version 3.13.2 new policies. # Set and use the newest cmake policies that are validated to work