Skip to content

Commit

Permalink
remove protobuf
Browse files Browse the repository at this point in the history
Signed-off-by: swurl <[email protected]>
  • Loading branch information
crueter committed Jan 8, 2025
1 parent 53e8f4d commit 2defa22
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions 3rd_party/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,7 @@ include(FetchContent)
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
set(CMAKE_POLICY_DEFAULT_CMP0074 NEW)

# protobuf
if (NOT USE_SYSTEM_PROTOBUF)
set(protobuf_ALLOW_CCACHE ON)
set(protobuf_MSVC_STATIC_RUNTIME OFF)
set(protobuf_BUILD_SHARED_LIBS ON)
set(protobuf_BUILD_TESTS OFF)
set(ABSL_PROPAGATE_CXX_STD ON)

FetchContent_Declare(
protobuf
GIT_REPOSITORY https://github.com/protocolbuffers/protobuf.git
GIT_TAG d00db12f9497e93898b9850a8f4d67ac6cc20917 # 26.0
OVERRIDE_FIND_PACKAGE
)
FetchContent_MakeAvailable(Protobuf)
endif()

# WPILIB
# WPILib
if (NOT USE_SYSTEM_NTCORE)
set(USE_SYSTEM_EIGEN OFF)
set(USE_SYSTEM_FMTLIB OFF)
Expand All @@ -34,6 +17,7 @@ if (NOT USE_SYSTEM_NTCORE)
set(WITH_WPILIB OFF)
set(WITH_TESTS OFF)
set(WITH_GUI OFF)
set(WITH_PROTOBUF OFF)
set(WITH_SIMULATION_MODULES OFF)

set(NO_WERROR ON)
Expand Down

0 comments on commit 2defa22

Please sign in to comment.