Skip to content

Commit 0695260

Browse files
philo-hezhztheplayer
authored andcommitted
Install re2 headers (apache#66)
1 parent 8c93d52 commit 0695260

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cpp/cmake_modules/ThirdpartyToolchain.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2276,6 +2276,9 @@ macro(build_re2)
22762276
set(RE2_INCLUDE_DIR "${RE2_PREFIX}/include")
22772277

22782278
list(APPEND ARROW_BUNDLED_STATIC_LIBS re2::re2)
2279+
2280+
# Install re2 headers for gazelle native code use.
2281+
install(DIRECTORY "${RE2_INCLUDE_DIR}/re2" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")
22792282
endmacro()
22802283

22812284
if(ARROW_WITH_RE2)

0 commit comments

Comments
 (0)