Commit 33b6a670 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

Better windows settings and make internal hdf5 to be exported correctly

parent 68f97395
......@@ -53,7 +53,11 @@ ELSE(XDMF_BUILD_VTK)
SET(XDMF_EXPAT_INCLUDE_DIRS ${EXPAT_INCLUDE_DIR})
ENDIF(XDMF_BUILD_VTK)
OPTION(XDMF_SYSTEM_HDF5 "Use sytstem HDF5" ON)
IF(WIN32)
OPTION(XDMF_SYSTEM_HDF5 "Use sytstem HDF5" OFF)
ELSE(WIN32)
OPTION(XDMF_SYSTEM_HDF5 "Use sytstem HDF5" ON)
ENDIF(WIN32)
IF(XDMF_SYSTEM_HDF5)
FIND_LIBRARY(HDF5_LIBRARY
......@@ -109,6 +113,10 @@ IF(XDMF_SYSTEM_HDF5)
${Xdmf_SOURCE_DIR}/Utilities/hdf5
${Xdmf_BINARY_DIR}/Utilities/hdf5
${XDMF_ZLIB_INCLUDE_DIRS})
ELSE(XDMF_SYSTEM_HDF5)
SET(XDMF_INCLUDE_DIRS_CONFIG ${XDMF_INCLUDE_DIRS_CONFIG}
${Xdmf_SOURCE_DIR}/Utilities/hdf5
${Xdmf_BINARY_DIR}/Utilities/hdf5)
ENDIF(XDMF_SYSTEM_HDF5)
# Save the compiler settings so another project can import them.
......
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