From 158ce3ce362f08b49ea1e0f91f615de333395a43 Mon Sep 17 00:00:00 2001 From: Mathieu Faverge <mathieu.faverge@inria.fr> Date: Thu, 27 Jul 2023 00:33:26 +0200 Subject: [PATCH] eztrace: add eztrace-mpi to the list of libraries when mpi components is required --- modules/find/FindEZTRACE.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/find/FindEZTRACE.cmake b/modules/find/FindEZTRACE.cmake index a68e396..a511f1f 100644 --- a/modules/find/FindEZTRACE.cmake +++ b/modules/find/FindEZTRACE.cmake @@ -114,12 +114,12 @@ if (PKG_CONFIG_EXECUTABLE) message(STATUS "${Magenta}Looking for EZTRACE-MPI - not found.${ColourReset}") endif() - list(APPEND EZTRACE_LIBRARIES ${EZTRACE_MPI_LIBRARIES}) + list(APPEND EZTRACE_LINK_LIBRARIES ${EZTRACE_MPI_LIBRARIES}) if (MPI_FOUND) if (MPI_C_INCLUDE_PATH) list(APPEND EZTRACE_INCLUDE_DIRS ${MPI_C_INCLUDE_PATH}) endif() - list(APPEND EZTRACE_LIBRARIES ${MPI_C_LIBRARIES}) + list(APPEND EZTRACE_LINK_LIBRARIES ${MPI_C_LIBRARIES}) endif() endif(EZTRACE_LOOK_FOR_MPI) -- GitLab