Skip to content

Commit 09cb626

Browse files
Copilottsaubergine
andauthored
Add find_package(Protobuf) to provide protobuf::protoc imported target for GobyTarget.cmake
Agent-Logs-Url: https://github.com/GobySoft/netsim/sessions/ba70897d-9fe0-4158-8f73-85475349ef51 Co-authored-by: tsaubergine <732276+tsaubergine@users.noreply.github.com>
1 parent d9a9e97 commit 09cb626

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT
1616

1717
set(PROJECT_SOVERSION "1")
1818

19+
find_package(Protobuf REQUIRED)
20+
include_directories(${Protobuf_INCLUDE_DIRS})
21+
1922
include(GobyTarget)
2023

2124
find_package(DCCL REQUIRED)

0 commit comments

Comments
 (0)