Skip to content

Commit

Permalink
Remove mpi fortran (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
chengcli authored Sep 28, 2023
1 parent 2871cf7 commit 7b04a79
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 "")
Expand Down
2 changes: 1 addition & 1 deletion cmake/application.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
5 changes: 4 additions & 1 deletion cmake/parameters.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7b04a79

Please sign in to comment.