From 7e414e9a55ec1a408bec5906ce12c19c9af6e2a1 Mon Sep 17 00:00:00 2001 From: ct-clmsn Date: Mon, 30 Oct 2023 12:08:44 -0400 Subject: [PATCH] cmake logic error --- cmake/HPX_SetupOpenSHMEM.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/HPX_SetupOpenSHMEM.cmake b/cmake/HPX_SetupOpenSHMEM.cmake index e4b60ec4fc32..88fc56ba6779 100644 --- a/cmake/HPX_SetupOpenSHMEM.cmake +++ b/cmake/HPX_SetupOpenSHMEM.cmake @@ -92,10 +92,10 @@ macro(hpx_setup_openshmem) messsage( STATUS - "1)${OSHMEM_INFO} 2)${OSHMEM_INFO_OUTPUT} 3)${OSHMEM_INFO_OUTPUT_CONTENT} 4)${OSHMEM_LIBDIR_PATH}" + "1) ${OSHMEM_INFO} 2) ${OSHMEM_INFO_OUTPUT} 3) ${OSHMEM_INFO_OUTPUT_CONTENT} 4) ${OSHMEM_LIBDIR_PATH}" ) - pkg_search_module(OPENSHMEM IMPORTED_TARGET GLOBAL oshmem) + pkg_search_module(OPENSHMEM IMPORTED_TARGET GLOBAL ${OPENSHMEM_PC}) if(NOT OPENSHMEM_FOUND) file(READ ${OSHMEM_INFO_ERROR} OSHMEM_INFO_ERROR_CONTENT)