From 9a6138539170d7b8da3f55667869ba9c9a29ff28 Mon Sep 17 00:00:00 2001 From: Jerome Soumagne Date: Thu, 19 Dec 2024 12:42:23 -0600 Subject: [PATCH] CMake: fix XDR to be an external dependency --- src/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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()