Commit 0492f573 authored by Clinton Stimpson's avatar Clinton Stimpson
Browse files

COMP: Another fix for building w/ system libxml2

parent 6446fa62
......@@ -16,8 +16,10 @@ ENDIF(NOT BUILD_SHARED_LIBS)
SET(XDMF_BUILD_VTK 1)
IF(VTK_USE_SYSTEM_LIBXML2)
SET(LIBXML2_LIBRARY ${LIBXML2_LIBRARIES})
SET(VTKLIBXML2_INCLUDE_DIR ${LIBXML2_INCLUDE_DIR})
ELSE(VTK_USE_SYSTEM_LIBXML2)
SET(LIBXML2_LIBRARY vtklibxml2)
SET(VTKLIBXML2_INCLUDE_DIR ${ParaView_BINARY_DIR}/VTK/Utilities/vtklibxml2)
ENDIF(VTK_USE_SYSTEM_LIBXML2)
SET(HDF5_LIBRARY ${PARAVIEW_HDF5_LIBRARIES})
......@@ -93,7 +95,7 @@ INCLUDE_DIRECTORIES(
${VTKEXPAT_INCLUDE_DIR}
${ParaView_SOURCE_DIR}/VTK/Utilities
${ParaView_BINARY_DIR}/VTK/Utilities
${ParaView_BINARY_DIR}/VTK/Utilities/vtklibxml2
${VTKLIBXML2_INCLUDE_DIR}
${HDF5_INCLUDE_DIR}
)
SUBDIRS(Ice)
......
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