Skip to content

Commit

Permalink
feat: properly downgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
xhayper committed Jul 3, 2023
1 parent 50bf072 commit 8baed0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ if (USE_PROTOBUF_CPM)
GITHUB_REPOSITORY protocolbuffers/protobuf
OPTIONS "protobuf_INSTALL OFF" "protobuf_BUILD_TESTS OFF" "BUILD_SHARED_LIBS OFF")

include(${protobuf_SOURCE_DIR}/cmake/protobuf-generate.cmake)
include(${protobuf_BINARY_DIR}/cmake/protobuf-generate.cmake)

set(PROTOBUF_LIBRARY libprotobuf)
set(Protobuf_INCLUDE_DIRS ${protobuf_SOURCE_DIR}/src ${protobuf_SOURCE_DIR}/third_party/abseil-cpp)
set(Protobuf_INCLUDE_DIRS ${protobuf_SOURCE_DIR}/src)
endif ()

if (NOT protobuf_ADDED)
Expand Down

0 comments on commit 8baed0e

Please sign in to comment.