Skip to content

Commit

Permalink
Fix client/server build issue with new grpc.
Browse files Browse the repository at this point in the history
  • Loading branch information
zpzim committed Jan 9, 2024
1 parent 9e4e353 commit 1c80311
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/distributed/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
include(SCAMPMacros)

# Fix for https://github.com/protocolbuffers/protobuf/issues/12185
set(ABSL_ENABLE_INSTALL ON)

add_subdirectory(${CMAKE_SOURCE_DIR}/third_party/grpc ${CMAKE_CURRENT_BINARY_DIR}/grpc EXCLUDE_FROM_ALL)

# After using add_subdirectory, we can now use the grpc targets directly from
Expand Down
1 change: 1 addition & 0 deletions src/distributed/distributed_job.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once
#include <chrono>
#include <mutex>
#include <queue>
#include <unordered_map>

Expand Down

0 comments on commit 1c80311

Please sign in to comment.