diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake b/cpp/cmake_modules/ThirdpartyToolchain.cmake index 5264beed783..f24a83d13fb 100644 --- a/cpp/cmake_modules/ThirdpartyToolchain.cmake +++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake @@ -5303,16 +5303,6 @@ endif() # Azure SDK for C++ function(build_azure_sdk) - if(CMAKE_VERSION VERSION_LESS 3.22) - # We can't disable installing Azure SDK for C++ by - # "set_property(DIRECTORY ${azure_sdk_SOURCE_DIR} PROPERTY - # EXCLUDE_FROM_ALL TRUE)" with CMake 3.16. - # - # At least CMake 3.22 on Ubuntu 22.04 works. So we use 3.22 - # here. We may be able to use more earlier version here. - message(FATAL_ERROR "Building Azure SDK for C++ requires at least CMake 3.22. " - "(At least we can't use CMake 3.16)") - endif() message(STATUS "Building Azure SDK for C++ from source") fetchcontent_declare(azure_sdk ${FC_DECLARE_COMMON_OPTIONS} diff --git a/cpp/examples/minimal_build/CMakeLists.txt b/cpp/examples/minimal_build/CMakeLists.txt index 95dad34221a..689dba437e0 100644 --- a/cpp/examples/minimal_build/CMakeLists.txt +++ b/cpp/examples/minimal_build/CMakeLists.txt @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.25) project(ArrowMinimalExample) diff --git a/docs/source/developers/cpp/building.rst b/docs/source/developers/cpp/building.rst index 60a9e069415..8fe89712611 100644 --- a/docs/source/developers/cpp/building.rst +++ b/docs/source/developers/cpp/building.rst @@ -41,7 +41,7 @@ Building requires: * A C++17-enabled compiler. On Linux, gcc 7.1 and higher should be sufficient. For Windows, at least Visual Studio VS2017 is required. -* CMake 3.16 or higher +* CMake 3.25 or higher * On Linux and macOS, either ``make`` or ``ninja`` build utilities * At least 1GB of RAM for a minimal build, 4GB for a minimal debug build with tests and 8GB for a full build using @@ -451,7 +451,7 @@ several times with different options if you want to exercise all of them. CMake version requirements ~~~~~~~~~~~~~~~~~~~~~~~~~~ -We support CMake 3.16 and higher. +We support CMake 3.25 and higher. LLVM and Clang Tools ~~~~~~~~~~~~~~~~~~~~ diff --git a/r/DESCRIPTION b/r/DESCRIPTION index 99470a3cc57..16814806322 100644 --- a/r/DESCRIPTION +++ b/r/DESCRIPTION @@ -28,7 +28,7 @@ BugReports: https://github.com/apache/arrow/issues Encoding: UTF-8 Language: en-US SystemRequirements: C++17; for AWS S3 support on Linux, libcurl and openssl (optional); - cmake >= 3.16 (build-time only, and only for full source build) + cmake >= 3.25 (build-time only, and only for full source build) Biarch: true Imports: assertthat,