From 32f918fb13d9bc6fcb5ba5d65e167509b99b750b Mon Sep 17 00:00:00 2001 From: PHILO-HE <feilong.he@intel.com> Date: Sun, 28 Apr 2024 23:57:10 +0800 Subject: [PATCH] Remove useless code --- cpp/velox/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpp/velox/CMakeLists.txt b/cpp/velox/CMakeLists.txt index 414c6ba5fe70..9ad14fdf7f9d 100644 --- a/cpp/velox/CMakeLists.txt +++ b/cpp/velox/CMakeLists.txt @@ -92,8 +92,7 @@ macro(ADD_VELOX_OBJECTS) endmacro() macro(add_duckdb) - set(VELOX_BUILD_DUCKDB_PATH "${VELOX_BUILD_PATH}/_deps/duckdb-build") - find_package(DuckDB HINTS ${VELOX_BUILD_DUCKDB_PATH}) + find_package(DuckDB) if(NOT DuckDB_FOUND) message(FATAL_ERROR "Cannot find DuckDB.") else()