diff --git a/CMakeLists.txt b/CMakeLists.txt index d35959ea..c5a53dc6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) project(canoe - LANGUAGES CXX C Fortran + LANGUAGES CXX C Fortran ) message(STATUS "") diff --git a/cmake/application.cmake b/cmake/application.cmake index 6449673c..30b354ed 100644 --- a/cmake/application.cmake +++ b/cmake/application.cmake @@ -6,7 +6,7 @@ FetchContent_Declare( application # GIT_REPOSITORY https://github.com/chengcli/application/ GIT_TAG cli/flush) DOWNLOAD_EXTRACT_TIMESTAMP TRUE - URL https://github.com/chengcli/application/archive/refs/tags/v0.6.1.tar.gz) + URL https://github.com/chengcli/application/archive/refs/tags/v0.6.2.tar.gz) FetchContent_MakeAvailable(application) diff --git a/cmake/parameters.cmake b/cmake/parameters.cmake index bef002f4..ad808295 100644 --- a/cmake/parameters.cmake +++ b/cmake/parameters.cmake @@ -90,7 +90,10 @@ if(NOT MPI OR NOT DEFINED MPI) set(MPI_OPTION "NOT_MPI_PARALLEL") else() set(MPI_OPTION "MPI_PARALLEL") - find_package(MPI REQUIRED) + find_package( + MPI + COMPONENTS C CXX + REQUIRED) endif() if(NOT GLOG OR NOT DEFINED GLOG)