INCLUDE(CheckIncludeFile) TRIBITS_SUBPACKAGE(Nemslice) ASSERT_DEFINED(${PROJECT_NAME}_ENABLE_Zoltan) IF (${PROJECT_NAME}_ENABLE_Zoltan) TRIBITS_INCLUDE_DIRECTORIES(${Zoltan_INCLUDE_DIRS}) SET(ZOLTAN_DEP zoltan) ADD_DEFINITIONS(-DUSE_ZOLTAN) ENDIF() TRIBITS_INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) SET(HEADERS "") APPEND_GLOB(SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/*.C) CHECK_INCLUDE_FILE( sys/resource.h HAS_GETRUSAGE ) TRIBITS_ADD_EXECUTABLE( nem_slice NOEXEPREFIX NOEXESUFFIX SOURCES ${SOURCES} COMM serial mpi INSTALLABLE ) TRIBITS_SUBPACKAGE_POSTPROCESS()