diff --git a/cpp/cmake/thirdparty/get_arrow.cmake b/cpp/cmake/thirdparty/get_arrow.cmake index 0530e5dfd85..d09f3f46d81 100644 --- a/cpp/cmake/thirdparty/get_arrow.cmake +++ b/cpp/cmake/thirdparty/get_arrow.cmake @@ -42,9 +42,9 @@ function(find_libarrow_in_python_wheel PYARROW_VERSION) list(APPEND CMAKE_PREFIX_PATH "${CUDF_PYARROW_WHEEL_DIR}") string( - APPEND - initial_code_block - [=[ + APPEND + initial_code_block + [=[ find_package(Python 3.9 REQUIRED COMPONENTS Interpreter) execute_process( COMMAND "${Python_EXECUTABLE}" -c "import pyarrow; print(pyarrow.get_library_dirs()[0])" @@ -61,8 +61,7 @@ list(APPEND CMAKE_PREFIX_PATH "${CUDF_PYARROW_WHEEL_DIR}") LIBRARY_NAMES "${PYARROW_LIB}" BUILD_EXPORT_SET cudf-exports INSTALL_EXPORT_SET cudf-exports - HEADER_NAMES arrow/python/arrow_to_pandas.h - INITIAL_CODE_BLOCK initial_code_block + HEADER_NAMES arrow/python/arrow_to_pandas.h INITIAL_CODE_BLOCK initial_code_block ) find_package(Arrow ${PYARROW_VERSION} MODULE REQUIRED GLOBAL)