diff --git a/ep/build-velox/src/modify_velox.patch b/ep/build-velox/src/modify_velox.patch index bf801ead83ef..1f5373424a2a 100644 --- a/ep/build-velox/src/modify_velox.patch +++ b/ep/build-velox/src/modify_velox.patch @@ -10,16 +10,15 @@ index ddd232050..b6ed2432b 100644 + FetchContent_MakeAvailable(simdjson) diff --git a/CMakeLists.txt b/CMakeLists.txt -index 7fd99b6dc..e7e03a800 100644 +index 5929473ae..f8ba972af 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -428,7 +428,7 @@ velox_resolve_dependency(Boost 1.77.0 COMPONENTS ${BOOST_INCLUDE_LIBRARIES}) - # for reference. find_package(range-v3) +@@ -420,7 +420,7 @@ set(BOOST_INCLUDE_LIBRARIES + velox_set_source(Boost) + velox_resolve_dependency(Boost 1.77.0 COMPONENTS ${BOOST_INCLUDE_LIBRARIES}) + +-velox_set_source(gflags) ++velox_set_source(gflags COMPONENTS ${VELOX_GFLAGS_TYPE}) + + velox_resolve_dependency(gflags COMPONENTS ${VELOX_GFLAGS_TYPE}) - velox_set_source(gflags) --velox_resolve_dependency(gflags COMPONENTS ${VELOX_GFLAGS_TYPE}) -+velox_resolve_dependency(gflags) - if(NOT TARGET gflags::gflags) - # This is a bit convoluted, but we want to be able to use gflags::gflags as a - # target even when velox is built as a subproject which uses - \ No newline at end of file