Skip to content

Commit

Permalink
Fix adios stuff in FindPIO
Browse files Browse the repository at this point in the history
  • Loading branch information
jgfouca committed Oct 2, 2023
1 parent 7075e9a commit a5177a0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/cmake/modules/FindPIO.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ endif()
find_package(NETCDF REQUIRED)

if (NOT MPILIB STREQUAL mpi-serial)
find_package(ADIOS2 REQUIRED)
list(APPEND PIOLIBS adios2::adios2 adios2pio-nm-lib)
find_package(MPI REQUIRED COMPONENTS C)
find_package(ADIOS2 REQUIRED COMPONENTS C)
list(APPEND PIOLIBS adios2::adios2)
endif()

list(APPEND PIOLIBS netcdf)
Expand Down

0 comments on commit a5177a0

Please sign in to comment.