Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Yuan Zhou <[email protected]>
  • Loading branch information
zhouyuan committed Dec 8, 2024
1 parent 9dad5eb commit 26b1a47
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions ep/build-velox/src/modify_velox.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 26b1a47

Please sign in to comment.