Skip to content

Commit 48a9c46

Browse files
committed
apacheGH-44950: [C++] Bump minimum CMake version to 3.25
1 parent f5c340b commit 48a9c46

8 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎cpp/CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
cmake_minimum_required(VERSION 3.16)
18+
cmake_minimum_required(VERSION 3.25)
1919
message(STATUS "Building using CMake version: ${CMAKE_VERSION}")
2020

2121
# https://www.cmake.org/cmake/help/latest/policy/CMP0025.html

‎cpp/examples/minimal_build/CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
cmake_minimum_required(VERSION 3.16)
18+
cmake_minimum_required(VERSION 3.25)
1919

2020
project(ArrowMinimalExample)
2121

‎cpp/examples/parquet/parquet_arrow/CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# under the License.
1717

1818
# Require cmake that supports BYPRODUCTS in add_custom_command, ExternalProject_Add [1].
19-
cmake_minimum_required(VERSION 3.16)
19+
cmake_minimum_required(VERSION 3.25)
2020

2121
project(parquet_arrow_example)
2222

‎cpp/examples/tutorial_examples/CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
cmake_minimum_required(VERSION 3.16)
18+
cmake_minimum_required(VERSION 3.25)
1919

2020
project(ArrowTutorialExamples)
2121

‎docs/source/cpp/build_system.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ file into an executable linked with the Arrow C++ shared library:
4646

4747
.. code-block:: cmake
4848
49-
cmake_minimum_required(VERSION 3.16)
49+
cmake_minimum_required(VERSION 3.25)
5050
5151
project(MyExample)
5252

‎matlab/CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
cmake_minimum_required(VERSION 3.20)
18+
cmake_minimum_required(VERSION 3.25)
1919

2020
# Build the Arrow C++ libraries using ExternalProject_Add.
2121
function(build_arrow)

‎python/CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# Includes code assembled from BSD/MIT/Apache-licensed code from some 3rd-party
1919
# projects, including Kudu, Impala, and libdynd. See python/LICENSE.txt
2020

21-
cmake_minimum_required(VERSION 3.16)
21+
cmake_minimum_required(VERSION 3.25)
2222
project(pyarrow)
2323

2424
# This is needed for 3.13 free-threading. CMake used to add Python

‎r/tools/nixlibs.R‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ build_libarrow <- function(src_dir, dst_dir) {
635635
invisible(status)
636636
}
637637

638-
ensure_cmake <- function(cmake_minimum_required = "3.16") {
638+
ensure_cmake <- function(cmake_minimum_required = "3.25") {
639639
cmake <- find_cmake(version_required = cmake_minimum_required)
640640

641641
if (is.null(cmake)) {

0 commit comments

Comments
 (0)