Skip to content

Commit

Permalink
Another syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jgfouca committed Oct 2, 2023
1 parent a514f98 commit db34761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/cmake/modules/FindPIO.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ find_package(NETCDF REQUIRED)
# Not all machines/PIO installations use ADIOS but, for now,
# we can assume that an MPI case with ADIOS2_ROOT set is probably
# using adios.
if (NOT MPILIB STREQUAL mpi-serial AND DEFINED $ENV{ADIOS2_ROOT})
if (NOT MPILIB STREQUAL mpi-serial AND DEFINED ENV{ADIOS2_ROOT})
find_package(MPI REQUIRED COMPONENTS C)
find_package(ADIOS2 REQUIRED COMPONENTS C)
list(APPEND PIOLIBS adios2::adios2)
Expand Down

0 comments on commit db34761

Please sign in to comment.