Commit accc6d87 authored by allens's avatar allens
Browse files

added logic for OS X which does not had a rt library

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@23555 18c085ea-50e0-402c-830e-de6fd14e8384
parent 0d55528f
......@@ -78,6 +78,9 @@ ${EAVL_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
)
IF(UNIX AND NOT APPLE)
SET(RT rt)
ENDIF(UNIX AND NOT APPLE)
LINK_DIRECTORIES(${VISIT_LIBRARY_DIR} ${EAVL_LIBRARY_DIR} ${VTK_LIBRARY_DIRS} ${HDF5_LIBRARY_DIR} ${FASTBIT_LIBRARY_DIR} ${H5PART_LIBRARY_DIR} )
......@@ -87,19 +90,19 @@ SET(INSTALLTARGETS IH5PartDatabase)
IF(NOT VISIT_ENGINE_ONLY AND NOT VISIT_DBIO_ONLY)
ADD_LIBRARY(MH5PartDatabase ${LIBM_SOURCES} )
TARGET_LINK_LIBRARIES(MH5PartDatabase visitcommon avtdbatts avtdatabase_ser ${FASTBIT_LIB} ${H5PART_LIB} ${HDF5_LIB} ${ZLIB_LIB} rt)
TARGET_LINK_LIBRARIES(MH5PartDatabase visitcommon avtdbatts avtdatabase_ser ${FASTBIT_LIB} ${H5PART_LIB} ${HDF5_LIB} ${ZLIB_LIB} ${RT})
ADD_TARGET_DEFINITIONS(MH5PartDatabase MDSERVER)
SET(INSTALLTARGETS ${INSTALLTARGETS} MH5PartDatabase)
ENDIF(NOT VISIT_ENGINE_ONLY AND NOT VISIT_DBIO_ONLY)
ADD_LIBRARY(EH5PartDatabase_ser ${LIBE_SOURCES})
TARGET_LINK_LIBRARIES(EH5PartDatabase_ser visitcommon avtdatabase_ser avtpipeline_ser ${FASTBIT_LIB} ${H5PART_LIB} ${HDF5_LIB} ${ZLIB_LIB} rt)
TARGET_LINK_LIBRARIES(EH5PartDatabase_ser visitcommon avtdatabase_ser avtpipeline_ser ${FASTBIT_LIB} ${H5PART_LIB} ${HDF5_LIB} ${ZLIB_LIB} ${RT})
ADD_TARGET_DEFINITIONS(EH5PartDatabase_ser ENGINE)
SET(INSTALLTARGETS ${INSTALLTARGETS} EH5PartDatabase_ser)
IF(VISIT_PARALLEL)
ADD_PARALLEL_LIBRARY(EH5PartDatabase_par ${LIBE_SOURCES})
TARGET_LINK_LIBRARIES(EH5PartDatabase_par visitcommon avtdatabase_par avtpipeline_par ${FASTBIT_LIB} ${H5PART_LIB} ${HDF5_LIB} ${ZLIB_LIB} rt)
TARGET_LINK_LIBRARIES(EH5PartDatabase_par visitcommon avtdatabase_par avtpipeline_par ${FASTBIT_LIB} ${H5PART_LIB} ${HDF5_LIB} ${ZLIB_LIB} ${RT})
ADD_TARGET_DEFINITIONS(EH5PartDatabase_par ENGINE)
SET(INSTALLTARGETS ${INSTALLTARGETS} EH5PartDatabase_par)
ENDIF(VISIT_PARALLEL)
......
Markdown is supported
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