Skip to content

Commit

Permalink
Use CONFIG mode to find protobuf to address the absl dependency issue.
Browse files Browse the repository at this point in the history
See also: protocolbuffers/protobuf#12292

Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
  • Loading branch information
sighingnow committed Jun 15, 2023
1 parent 79cd577 commit f6a563e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analytical_engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ endif ()
find_package(libgrapelite REQUIRED)
include_directories(${LIBGRAPELITE_INCLUDE_DIRS})

find_package(Protobuf REQUIRED)
find_package(Protobuf CONFIG REQUIRED)
include_directories(${Protobuf_INCLUDE_DIRS})

if (ENABLE_JAVA_SDK)
Expand Down

0 comments on commit f6a563e

Please sign in to comment.