Skip to content

Commit

Permalink
Removed protobuf Module compatibility workaround
Browse files Browse the repository at this point in the history
No longer needed with our current Protobuf version

Contributes to CURA-8640
  • Loading branch information
jellespijker committed Apr 12, 2022
1 parent 7350da2 commit 4ba8dda
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ option(BUILD_PYTHON "Build " ON)
option(BUILD_EXAMPLES "Build the example programs" OFF)
option(BUILD_STATIC "Build as a static library" OFF)

# We want to have access to protobuf_generate_cpp and other FindProtobuf features.
# However, if ProtobufConfig is used instead, there is a CMake option that controls
# this, which defaults to OFF. We need to force this option to ON instead.
set(protobuf_MODULE_COMPATIBLE ON CACHE INTERNAL "" FORCE)
find_package(Protobuf 3.17.1 REQUIRED)

set(arcus_SRCS
Expand Down

0 comments on commit 4ba8dda

Please sign in to comment.