From 66a498ec5684d4b442e354d982ca7e782d4af654 Mon Sep 17 00:00:00 2001 From: Timothy Brown Date: Tue, 10 Jul 2018 17:05:51 -0600 Subject: [PATCH] Bugfix to the MPI_HAS_MPIIO check. The passing of the defines for the MPI include path lacked a dollar sign so it was not being expanded as a variable. Therefore the actual include when compiling was `-IMPIF_H_PATH`. --- src/flib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flib/CMakeLists.txt b/src/flib/CMakeLists.txt index 49bc3e67b7a..42b70edb789 100644 --- a/src/flib/CMakeLists.txt +++ b/src/flib/CMakeLists.txt @@ -161,7 +161,7 @@ if (MPIF_H_PATH) check_macro (MPI_HAS_MPIIO NAME TryMPIIO.f90 HINTS ${CMAKE_MODULE_PATH} - DEFINITIONS -I{MPIF_H_PATH} + DEFINITIONS -I${MPIF_H_PATH} COMMENT "whether MPIIO is supported") if (${MPI_HAS_MPIIO}) message (STATUS "MPIIO verified and enabled.")