diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3096719b..2a052f85 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -94,12 +94,12 @@ if(MERCURY_USE_XDR) if(NOT HG_HAS_RPC_XDR_H AND NOT APPLE AND NOT WIN32) find_package(TIRPC REQUIRED) message(STATUS "TIRPC include directory: ${TIRPC_INCLUDE_DIRS}") - set(MERCURY_INT_INCLUDE_DEPENDENCIES - ${MERCURY_INT_INCLUDE_DEPENDENCIES} + set(MERCURY_EXT_INCLUDE_DEPENDENCIES + ${MERCURY_EXT_INCLUDE_DEPENDENCIES} ${TIRPC_INCLUDE_DIRS} ) - set(MERCURY_INT_LIB_DEPENDENCIES - ${MERCURY_INT_LIB_DEPENDENCIES} + set(MERCURY_EXT_LIB_DEPENDENCIES + ${MERCURY_EXT_LIB_DEPENDENCIES} ${TIRPC_LIBRARIES} ) endif()