cmake for gpfs
@@ -25,6 +25,14 @@ IF(ENABLE_LUSTRE)
# - HAVE_LUSTRE_LUSTRE_USER_H
ENDIF(ENABLE_LUSTRE)
+OPTION(ENABLE_GPFS "Enable GFPS/Spectrum Scale support")
+IF(ENABLE_GPFS)
+ FIND_PACKAGE(GPFS REQUIRED)
+ INCLUDE_DIRECTORIES(${GPFS_INCLUDE_DIRS})
+ LIST(APPEND MFU_EXTERNAL_LIBS ${GPFS_LIBRARIES})
+ ADD_DEFINITIONS(-DGPFS_SUPPORT)
+ENDIF(ENABLE_GPFS)
+
OPTION(ENABLE_EXPERIMENTAL "Build experimental tools" OFF)
# Dependencies
