Commit bb473d80 authored by Chris Cantwell's avatar Chris Cantwell
Browse files

Only build XXT modules when using MPI.

parent 14b66d65
......@@ -28,9 +28,6 @@ GlobalLinSysDirectStaticCond.cpp
GlobalLinSysIterative.cpp
GlobalLinSysIterativeFull.cpp
GlobalLinSysIterativeStaticCond.cpp
GlobalLinSysXxt.cpp
GlobalLinSysXxtFull.cpp
GlobalLinSysXxtStaticCond.cpp
GlobalMatrix.cpp
GlobalMatrixKey.cpp
......@@ -79,8 +76,6 @@ GlobalLinSysDirectStaticCond.h
GlobalLinSysIterative.h
GlobalLinSysIterativeFull.h
GlobalLinSysIterativeStaticCond.h
GlobalLinSysXxt.h
GlobalLinSysXxtFull.h
GlobalMatrix.h
GlobalMatrixKey.h
MultiRegions.hpp
......@@ -100,6 +95,20 @@ SET(ASSEMBLY_MAP_HEADERS
./AssemblyMap/AssemblyMapCG2D.h
./AssemblyMap/AssemblyMapCG3D.h
)
IF(NEKTAR_USE_MPI)
SET(MULTI_REGIONS_HEADERS ${MULTI_REGIONS_HEADERS}
GlobalLinSysXxt.h
GlobalLinSysXxtFull.h
GlobalLinSysXxtStaticCond.h
)
SET(MULTI_REGIONS_SOURCES ${MULTI_REGIONS_SOURCES}
GlobalLinSysXxt.cpp
GlobalLinSysXxtFull.cpp
GlobalLinSysXxtStaticCond.cpp
)
ENDIF(NEKTAR_USE_MPI)
ADD_DEFINITIONS(-DMULTI_REGIONS_EXPORTS)
ADD_NEKTAR_LIBRARY(MultiRegions lib ${NEKTAR_LIBRARY_TYPE} ${MULTI_REGIONS_SOURCES} ${MULTI_REGIONS_HEADERS} ${ASSEMBLY_MAP_HEADERS})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment