Make GPRC and protobuf external components to RDC

Pass in GRPC root (or use default location) for RDC to use
when building RDC components.

Change-Id: I89db2ac2be27ab6449c817d210a94c11fef965fd
This commit is contained in:
Chris Freehill
2020-04-20 12:24:33 -05:00
parent fe3e75edfa
commit 1b58033183
7 changed files with 33 additions and 11 deletions
+2 -1
View File
@@ -142,7 +142,7 @@ aux_source_directory(${RDCTST_ROOT}/functional functionalSources)
# Specify the directory containing various libraries of ROCR
# to be linked against for building ROC Perf applications
#
link_directories(${RDC_LIB_DIR})
link_directories(${RDC_LIB_DIR} "${GRPC_ROOT}/lib")
#
# Source files for building rocrtst
#
@@ -154,6 +154,7 @@ add_executable(${RDCTST} ${rdctstSources} ${functionalSources})
# Header file include path
target_include_directories(${RDCTST} PRIVATE ${RDC_INC_DIR}
PRIVATE ${RSMI_INC_DIR}
PRIVATE ${GRPC_ROOT}/include
PRIVATE ${RDCTST_ROOT}/..
PRIVATE ${RDCTST_ROOT}/gtest/include)