From 3cd7e8a73bca2f260633bf4cb1f8d5b9144f82e8 Mon Sep 17 00:00:00 2001 From: ct-clmsn Date: Mon, 30 Oct 2023 12:03:22 -0400 Subject: [PATCH] cmake logic error --- cmake/HPX_SetupOpenSHMEM.cmake | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/cmake/HPX_SetupOpenSHMEM.cmake b/cmake/HPX_SetupOpenSHMEM.cmake index 827b0d10a656..e4b60ec4fc32 100644 --- a/cmake/HPX_SetupOpenSHMEM.cmake +++ b/cmake/HPX_SetupOpenSHMEM.cmake @@ -87,7 +87,12 @@ macro(hpx_setup_openshmem) ) set(ENV{PKG_CONFIG_PATH} - "$ENV{PKG_CONFIG_PATH}:${OSHMEM_INFO_OUTPUT_CONTENT}/pkgconfig" + "$ENV{PKG_CONFIG_PATH}:${OSHMEM_LIBDIR_PATH}/pkgconfig" + ) + + messsage( + STATUS + "1)${OSHMEM_INFO} 2)${OSHMEM_INFO_OUTPUT} 3)${OSHMEM_INFO_OUTPUT_CONTENT} 4)${OSHMEM_LIBDIR_PATH}" ) pkg_search_module(OPENSHMEM IMPORTED_TARGET GLOBAL oshmem) @@ -96,7 +101,7 @@ macro(hpx_setup_openshmem) file(READ ${OSHMEM_INFO_ERROR} OSHMEM_INFO_ERROR_CONTENT) message( FATAL_ERROR - "oshmem not found for HPX_WITH_PARCELPORT_OPENSHMEM and HPX_WITH_PARCELPORT_OPENSHMEM_CONDUIT='mpi'\n${OSHMEM_INFO_ERROR_CONTENT}\n${${OSHMEM_INFO_OUTPUT_CONTENT}/pkgconfig}" + "oshmem not found for HPX_WITH_PARCELPORT_OPENSHMEM and HPX_WITH_PARCELPORT_OPENSHMEM_CONDUIT='mpi'\n${OSHMEM_INFO_ERROR_CONTENT}\n${OSHMEM_INFO_OUTPUT_CONTENT}/pkgconfig" ) endif() endif()