Commit 40a23354 authored by Chuck Atkins's avatar Chuck Atkins
Browse files

Add expat for mesa dependencies

parent 9759aa1a
......@@ -96,6 +96,7 @@ function (superbuild_find_projects var)
boxlib
catalyst
egl
expat
fontconfig
glproto
gperf
......
......@@ -111,6 +111,9 @@ if (python_enabled AND USE_SYSTEM_python AND NOT python_FIND_LIBRARIES)
set(PARAVIEW_ENABLE_PYTHON OFF)
endif()
if (expat_ENABLED)
list(APPEND paraviews_platform_dependencies expat)
endif ()
superbuild_add_project(paraview
DEBUGGABLE
......@@ -157,6 +160,7 @@ superbuild_add_project(paraview
-DVTK_USE_SYSTEM_LIBXML2:BOOL=${libxml2_enabled}
-DVTK_USE_SYSTEM_PNG:BOOL=${png_enabled}
-DVTK_USE_SYSTEM_ZLIB:BOOL=${zlib_enabled}
-DVTK_USE_SYSTEM_EXPAT:BOOL=${expat_enabled}
-DModule_vtkIOADIOS:BOOL=${adios_enabled}
-DVTK_SMP_IMPLEMENTATION_TYPE:STRING=${paraview_smp_backend}
-DVTK_LEGACY_REMOVE:BOOL=ON
......
if(BUILD_SHARED_LIBS)
set(expat_args_shared --enable-shared --disable-static)
else()
set(expat_args_shared --disable-shared --enable-static)
endif()
superbuild_add_project(expat
CAN_USE_SYSTEM
CONFIGURE_COMMAND
<SOURCE_DIR>/configure
--prefix=<INSTALL_DIR>
${expat_args_shared}
BUILD_COMMAND
$(MAKE)
INSTALL_COMMAND
make install
BUILD_IN_SOURCE 1)
find_package(EXPAT REQUIRED)
superbuild_add_extra_cmake_args(
-DEXPAT_INCLUDE_DIR:PATH=${EXPAT_INCLUDE_DIR}
-DEXPAT_LIBRARY:FILEPATH=${EXPAT_LIBRARY})
......@@ -77,7 +77,7 @@ endif ()
superbuild_add_project(${project}
CAN_USE_SYSTEM
DEPENDS llvm zlib ${mesa_type_deps}
DEPENDS llvm zlib ${mesa_type_deps} expat
CONFIGURE_COMMAND
./autogen.sh
${mesa_common_config_args}
......
superbuild_set_revision(expat
URL "http://www.paraview.org/files/dependencies/expat-2.2.5.tar.bz2"
URL_MD5 789e297f547980fc9ecc036f9a070d49)
superbuild_set_revision(llvm
URL "http://www.paraview.org/files/dependencies/llvm-5.0.1.src.tar.xz"
URL_MD5 3a4ec6dcbc71579eeaec7cb157fe2168)
......
Supports Markdown
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