Skip to content

Commit c80255d

Browse files
committed
upgrade cmake minimum version to 3.16
1 parent d3ebdd3 commit c80255d

File tree

28 files changed

+28
-28
lines changed

28 files changed

+28
-28
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
runs-on: ubuntu-24.04
5959
env:
6060
CXX_STANDARD: '17'
61-
CMAKE_VERSION: '3.14.0'
61+
CMAKE_VERSION: '3.16.0'
6262
BUILD_TYPE: 'Debug'
6363
steps:
6464
- name: Harden the runner (Audit all outbound calls)

.github/workflows/cmake_install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
env:
154154
INSTALL_TEST_DIR: '/home/runner/install_test'
155155
# Set to the current minimum version of cmake
156-
CMAKE_VERSION: '3.14.0'
156+
CMAKE_VERSION: '3.16.0'
157157
# cxx14 is the default for Ubuntu 22.04
158158
CXX_STANDARD: '14'
159159
BUILD_TYPE: 'Debug'

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright The OpenTelemetry Authors
22
# SPDX-License-Identifier: Apache-2.0
33

4-
cmake_minimum_required(VERSION 3.14)
4+
cmake_minimum_required(VERSION 3.16)
55

66
# See https://cmake.org/cmake/help/latest/policy/CMP0074.html required by
77
# certain version of zlib which CURL depends on.

install/cmake/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# CMAKE_CXX_STANDARD: The C++ standard to use for all third-party packages.
2323
# Defaults to 14 if not set.
2424

25-
cmake_minimum_required(VERSION 3.14)
25+
cmake_minimum_required(VERSION 3.16)
2626
project(opentelemetry-cpp-thirdparty-install LANGUAGES CXX)
2727

2828
# Added in CMake 3.16. ExternalProject_Add() with GIT_SUBMODULES "" initializes

install/test/cmake/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright The OpenTelemetry Authors
22
# SPDX-License-Identifier: Apache-2.0
33

4-
cmake_minimum_required(VERSION 3.14)
4+
cmake_minimum_required(VERSION 3.16)
55
project(opentelemetry-cpp-component-install-tests LANGUAGES CXX)
66

77
if(NOT INSTALL_TEST_CMAKE_OPTIONS)

install/test/cmake/component_tests/api/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright The OpenTelemetry Authors
22
# SPDX-License-Identifier: Apache-2.0
33

4-
cmake_minimum_required(VERSION 3.14)
4+
cmake_minimum_required(VERSION 3.16)
55

66
project(opentelemetry-cpp-api-install-test LANGUAGES CXX)
77

install/test/cmake/component_tests/exporters_elasticsearch/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright The OpenTelemetry Authors
22
# SPDX-License-Identifier: Apache-2.0
33

4-
cmake_minimum_required(VERSION 3.14)
4+
cmake_minimum_required(VERSION 3.16)
55
project(opentelemetry-cpp-exporters-elasticsearch-install-test LANGUAGES CXX)
66

77
find_package(opentelemetry-cpp REQUIRED COMPONENTS exporters_elasticsearch)

install/test/cmake/component_tests/exporters_etw/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright The OpenTelemetry Authors
22
# SPDX-License-Identifier: Apache-2.0
33

4-
cmake_minimum_required(VERSION 3.14)
4+
cmake_minimum_required(VERSION 3.16)
55
project(opentelemetry-cpp-exporters_etw-install-test LANGUAGES CXX)
66

77
find_package(opentelemetry-cpp REQUIRED COMPONENTS exporters_etw)

install/test/cmake/component_tests/exporters_in_memory/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright The OpenTelemetry Authors
22
# SPDX-License-Identifier: Apache-2.0
33

4-
cmake_minimum_required(VERSION 3.14)
4+
cmake_minimum_required(VERSION 3.16)
55
project(opentelemetry-cpp-exporters-in-memory-install-test LANGUAGES CXX)
66

77
find_package(opentelemetry-cpp REQUIRED COMPONENTS exporters_in_memory)

install/test/cmake/component_tests/exporters_ostream/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright The OpenTelemetry Authors
22
# SPDX-License-Identifier: Apache-2.0
33

4-
cmake_minimum_required(VERSION 3.14)
4+
cmake_minimum_required(VERSION 3.16)
55
project(opentelemetry-cpp-exporters-ostream-install-test LANGUAGES CXX)
66

77
find_package(opentelemetry-cpp REQUIRED COMPONENTS exporters_ostream)

0 commit comments

Comments
 (0)