From efcd52d787c692afb56a4379034a76734e2e6c9f Mon Sep 17 00:00:00 2001 From: Rong Ou Date: Wed, 10 Feb 2021 09:59:00 -0800 Subject: [PATCH] fix Arrow CMake file (#7358) With the latest cmake (built from head), it crashes with `-DARROW_STATIC_LIB=ON`. Adding `cmake_minimum_required` to match what's in the top-level file. Authors: - Rong Ou (@rongou) Approvers: - Mark Harris (@harrism) - Jason Lowe (@jlowe) - Keith Kraus (@kkraus14) URL: https://github.com/rapidsai/cudf/pull/7358 --- cpp/cmake/Templates/Arrow.CMakeLists.txt.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cpp/cmake/Templates/Arrow.CMakeLists.txt.cmake b/cpp/cmake/Templates/Arrow.CMakeLists.txt.cmake index 06ccff0c449..a38576d9acf 100644 --- a/cpp/cmake/Templates/Arrow.CMakeLists.txt.cmake +++ b/cpp/cmake/Templates/Arrow.CMakeLists.txt.cmake @@ -1,5 +1,5 @@ #============================================================================= -# Copyright (c) 2018-2020, NVIDIA CORPORATION. +# Copyright (c) 2018-2021, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -14,6 +14,8 @@ # limitations under the License. #============================================================================= +cmake_minimum_required(VERSION 3.14...3.17 FATAL_ERROR) + project(cudf-Arrow) include(ExternalProject)