diff --git a/cpp/velox/CMakeLists.txt b/cpp/velox/CMakeLists.txt index c535dd124bbc9..4a4300572b446 100644 --- a/cpp/velox/CMakeLists.txt +++ b/cpp/velox/CMakeLists.txt @@ -325,7 +325,6 @@ if(ENABLE_HDFS) add_definitions(-DENABLE_HDFS) endif() - macro(find_libhdfs3) find_package(libhdfs3 CONFIG) if(libhdfs3_FOUND AND TARGET HDFS::hdfs3) diff --git a/dev/vcpkg/init.sh b/dev/vcpkg/init.sh index ed6b4afbbb930..b7fdf4d2fe3e6 100755 --- a/dev/vcpkg/init.sh +++ b/dev/vcpkg/init.sh @@ -75,7 +75,7 @@ fi if [ "$ENABLE_GCS" = "ON" ]; then EXTRA_FEATURES+="--x-feature=velox-gcs " fi -if [ "$ENABLE_HDFS" = "ON" ]; then +if [ "$ENABLE_HDFS3" = "ON" ]; then EXTRA_FEATURES+="--x-feature=velox-hdfs " fi if [ "$ENABLE_ABFS" = "ON" ]; then