Skip to content

Commit

Permalink
CMakeLists.txt: add CPM deps for protobuf
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjankoehler committed Dec 2, 2024
1 parent 91c843a commit 6db9986
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ project (kpex)

#_____________________________________________________________________________________________

# add dependencies
include(cmake/CPM.make)
CPMAddPackage("gh:protocolbuffers/protobuf")

#_____________________________________________________________________________________________

# see https://github.com/protocolbuffers/protobuf/blob/main/docs/cmake_protobuf_generate.md

find_package(protobuf CONFIG REQUIRED)
Expand Down

0 comments on commit 6db9986

Please sign in to comment.