Skip to content

Commit

Permalink
Add target_include_directories() again
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jul 6, 2024
1 parent 72490cb commit 3d88d7c
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 @@ -4524,6 +4524,9 @@ function(build_orc)
set(PROTOBUF_HOME
${Protobuf_ROOT}
CACHE STRING "" FORCE)
# ORC uses this.
target_include_directories(${ARROW_PROTOBUF_LIBPROTOC}
INTERFACE "${PROTOBUF_INCLUDE_DIR}")
set(PROTOBUF_EXECUTABLE ${ARROW_PROTOBUF_PROTOC})
set(PROTOBUF_LIBRARY ${ARROW_PROTOBUF_LIBPROTOBUF})
set(PROTOC_LIBRARY ${ARROW_PROTOBUF_LIBPROTOC})
Expand Down

0 comments on commit 3d88d7c

Please sign in to comment.