
TRIBITS_SUBPACKAGE(Zellij)

ASSERT_DEFINED(${PROJECT_NAME}_ENABLE_Zoltan)
IF (${PROJECT_NAME}_ENABLE_Zoltan)
   INCLUDE_DIRECTORIES(${Zoltan_INCLUDE_DIRS})
   SET(ZOLTAN_DEP zoltan)
   ADD_DEFINITIONS(-DUSE_ZOLTAN)
ENDIF()

INCLUDE_DIRECTORIES(
  "${CMAKE_CURRENT_SOURCE_DIR}"
)

SET(HEADERS "")
SET(SOURCES Grid.C
	    Cell.C
	    UnitCell.C
	    Decompose.C
	    ZE_SystemInterface.C
	    Zellij.C)

TRIBITS_ADD_EXECUTABLE(
  zellij
  NOEXEPREFIX
  NOEXESUFFIX
  SOURCES ${SOURCES}
  COMM serial mpi
  INSTALLABLE
  )

TRIBITS_SUBPACKAGE_POSTPROCESS()

