Skip to content

Commit

Permalink
Install re2 headers (apache#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE authored and zhztheplayer committed Feb 8, 2022
1 parent 32ce8e4 commit 7e5ae02
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cpp/cmake_modules/ThirdpartyToolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2276,6 +2276,9 @@ macro(build_re2)
set(RE2_INCLUDE_DIR "${RE2_PREFIX}/include")

list(APPEND ARROW_BUNDLED_STATIC_LIBS re2::re2)

# Install re2 headers for gazelle native code use.
install(DIRECTORY "${RE2_INCLUDE_DIR}/re2" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")
endmacro()

if(ARROW_WITH_RE2)
Expand Down

0 comments on commit 7e5ae02

Please sign in to comment.