From db34761b1d04423eb5817c98bb391266488eb4b4 Mon Sep 17 00:00:00 2001 From: James Foucar Date: Mon, 2 Oct 2023 11:41:34 -0600 Subject: [PATCH] Another syntax fix --- components/cmake/modules/FindPIO.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/cmake/modules/FindPIO.cmake b/components/cmake/modules/FindPIO.cmake index 48b945763c79..48077caf1c82 100644 --- a/components/cmake/modules/FindPIO.cmake +++ b/components/cmake/modules/FindPIO.cmake @@ -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)