Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[native] Include glog for thrift artifact build #23802

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions presto-native-execution/presto_cpp/main/thrift/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ thrift_library(
target_link_libraries(presto_thrift-cpp2 ${THRIFT_PROTOCOL} ${THRIFT_METADATA}
${THRIFT_CORE} ${THRIFT_TRANSPORT})
set(presto_thrift_INCLUDES ${CMAKE_CURRENT_BINARY_DIR})
target_include_directories(presto_thrift-cpp2 PUBLIC ${presto_thrift_INCLUDES})
target_include_directories(presto_thrift-cpp2-obj PUBLIC ${THRIFT_INCLUDES})
target_include_directories(presto_thrift-cpp2 PUBLIC ${presto_thrift_INCLUDES}
${GLOG_INCLUDE_DIR})
target_include_directories(presto_thrift-cpp2-obj PUBLIC ${THRIFT_INCLUDES}
${GLOG_INCLUDE_DIR})

add_library(presto_thrift_extra ProtocolToThrift.cpp)
target_include_directories(presto_thrift_extra PUBLIC ${presto_thrift_INCLUDES}
${THRIFT_INCLUDES})
target_include_directories(presto_thrift_extra PUBLIC ${presto_thrift_INCLUDES})
target_include_directories(
presto_thrift_extra PUBLIC ${presto_thrift_INCLUDES} ${THRIFT_INCLUDES}
${GLOG_INCLUDE_DIR})
add_dependencies(presto_thrift_extra presto_thrift-cpp2)
Loading