open-telemetry / opentelemetry-cpp

The OpenTelemetry C++ Client
https://opentelemetry.io/
Apache License 2.0
817 stars 392 forks source link

[BUILD] Bump CMake minimum required version to 3.9 #2581

Closed marcalff closed 4 months ago

marcalff commented 4 months ago

Fixes #1399

Also resolves the following deprecation warnings:

Starting with CMake 3.27, support for CMake < 3.5 is deprecated.

Changed in version 3.27: Compatibility with versions of CMake older than 3.5 is deprecated.

For some platforms, CI logs for opentelemetry-cpp now shows:

CMake Deprecation Warning at CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

Changes

Please provide a brief description of the changes here.

For significant contributions please make sure you have completed the following items: