Skip to content

Commit

Permalink
fix arch (#644)
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterTea authored Jun 24, 2024
1 parent 4c2038e commit 82f8d49
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,14 @@ else()
endif()
endif()

# Needed for arch: https://github.com/protocolbuffers/protobuf/issues/15604
if (Protobuf_VERSION VERSION_GREATER_EQUAL 4)
find_package(absl REQUIRED)

set(PROTOBUF_LIBS ${PROTOBUF_LIBS} absl::log_internal_check_op)
endif()


if(SELINUX_FOUND)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DWITH_SELINUX")
else()
Expand Down

0 comments on commit 82f8d49

Please sign in to comment.