From af1519aefcb18ac2e00ca3dee36e42879de8b6a6 Mon Sep 17 00:00:00 2001 From: Cheng Li <69489965+chengcli@users.noreply.github.com> Date: Thu, 28 Sep 2023 00:36:32 -0400 Subject: [PATCH] Small fix (#13) - fix header for monitor - specify mpi components to cxx --- cmake/parameters.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/parameters.cmake b/cmake/parameters.cmake index a71d2ff..83bbb3f 100644 --- a/cmake/parameters.cmake +++ b/cmake/parameters.cmake @@ -15,5 +15,5 @@ SET_IF_EMPTY(MYPATH "") SET_IF_EMPTY(MPI_OPTION "NOT_MPI_PARALLEL") if(MPI_OPTION STREQUAL "MPI_PARALLEL") - find_package(MPI REQUIRED) + find_package(MPI COMPONENTS CXX REQUIRED) endif()