Skip to content

Commit

Permalink
Fix no-GRPC configuration bug
Browse files Browse the repository at this point in the history
  • Loading branch information
SyllogismRXS committed Jul 2, 2018
1 parent 83f4b95 commit 4d706ef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions include/scrimmage/network/Interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#include <scrimmage/proto/Frame.pb.h>
#include <scrimmage/proto/Visual.pb.h>
#include <scrimmage/proto/GUIControl.pb.h>
#include <scrimmage/proto/Shape.pb.h>

#if ENABLE_GRPC == 1
#include <scrimmage/proto/Scrimmage.grpc.pb.h>
Expand Down
4 changes: 0 additions & 4 deletions msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ file(GLOB PROTO_FILE_LIST
set(GEN_DIR ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}/msgs)
file(MAKE_DIRECTORY ${GEN_DIR})

if (NOT GRPC_FOUND OR EXTERNAL)
list(REMOVE_ITEM PROTO_FILE_LIST "Command.proto")
endif()

foreach(PROTO_FILE ${PROTO_FILE_LIST})
# Get the name of the file without extension
# name.proto -> name
Expand Down

0 comments on commit 4d706ef

Please sign in to comment.