From 2e6a8d2dd7c00daf63cbbf3e6751bcdd369db761 Mon Sep 17 00:00:00 2001 From: jackylee-ch Date: Tue, 25 Oct 2022 10:46:31 +0800 Subject: [PATCH] add fast_float to include dir --- cpp/src/arrow/vendored/CMakeLists.txt | 1 + .../arrow/vendored/fast_float/CMakeLists.txt | 18 ++++++++++++++++++ .../arrow/vendored/fast_float/ascii_number.h | 1 + 3 files changed, 20 insertions(+) create mode 100644 cpp/src/arrow/vendored/fast_float/CMakeLists.txt diff --git a/cpp/src/arrow/vendored/CMakeLists.txt b/cpp/src/arrow/vendored/CMakeLists.txt index 8d4c323d28a2e..41ad0b13a1535 100644 --- a/cpp/src/arrow/vendored/CMakeLists.txt +++ b/cpp/src/arrow/vendored/CMakeLists.txt @@ -18,4 +18,5 @@ arrow_install_all_headers("arrow/vendored") add_subdirectory(datetime) +add_subdirectory(fast_float) add_subdirectory(double-conversion) diff --git a/cpp/src/arrow/vendored/fast_float/CMakeLists.txt b/cpp/src/arrow/vendored/fast_float/CMakeLists.txt new file mode 100644 index 0000000000000..ca02df5e85fbd --- /dev/null +++ b/cpp/src/arrow/vendored/fast_float/CMakeLists.txt @@ -0,0 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +arrow_install_all_headers("arrow/vendored/fast_float") diff --git a/cpp/src/arrow/vendored/fast_float/ascii_number.h b/cpp/src/arrow/vendored/fast_float/ascii_number.h index 8a5afdee9654b..607766a09ceca 100644 --- a/cpp/src/arrow/vendored/fast_float/ascii_number.h +++ b/cpp/src/arrow/vendored/fast_float/ascii_number.h @@ -7,6 +7,7 @@ #include #include "float_common.h" +#include "fast_float.h" namespace arrow_vendored { namespace fast_float {