Commit 5a0c4b68 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

mxml: port

parent d3e07e79
Pipeline #23613 passed with stage
if(BUILD_SHARED_LIBS)
set(shared_flags --enable-shared)
else()
set(shared_flags --disable-shared)
endif()
add_external_project_or_use_system(
mxml
BUILD_IN_SOURCE 1
CONFIGURE_COMMAND <SOURCE_DIR>/configure
--prefix=<INSTALL_DIR>
${shared_args}
PROCESS_ENVIRONMENT
CC "${CMAKE_C_COMPILER}"
CXX "${CMAKE_CXX_COMPILER}"
)
if (BUILD_SHARED_LIBS)
set(mxml_shared_flags --enable-shared)
else ()
set(mxml_shared_flags --disable-shared)
endif ()
superbuild_add_project(mxml
CAN_USE_SYSTEM
BUILD_IN_SOURCE 1
CONFIGURE_COMMAND
<SOURCE_DIR>/configure
--prefix=<INSTALL_DIR>
${mxml_shared_args}
PROCESS_ENVIRONMENT
CC "${CMAKE_C_COMPILER}"
CXX "${CMAKE_CXX_COMPILER}")
find_path(MXML_INCLUDE_DIR mxml.h)
find_library(MXML_LIBRARY mxml)
if(NOT (MXML_INCLUDE_DIR AND MXML_LIBRARY))
if (NOT (MXML_INCLUDE_DIR AND MXML_LIBRARY))
message(FATAL_ERROR "Unable to locate mxml")
endif()
endif ()
......@@ -26,6 +26,10 @@ superbuild_set_revision(adios
URL "http://www.paraview.org/files/dependencies/adios-1.8-439f0fb6.tar.bz2"
URL_MD5 a88701c77a7ead5daadd8d8aff70556a)
superbuild_set_revision(mxml
URL "http://www.paraview.org/files/dependencies/mxml-2.9.tar.gz"
URL_MD5 e21cad0f7aacd18f942aa0568a8dee19)
superbuild_set_revision(silo
URL "http://paraview.org/files/dependencies/silo-4.9.1-bsd.tar.gz"
URL_MD5 465d2a0a8958b088cde83fb2a5a7eeef)
......@@ -97,11 +101,6 @@ add_revision(portfwd
URL "http://www.paraview.org/files/dependencies/portfwd-0.29.tar.gz"
URL_MD5 93161c91e12b0d67ca52dc13708a2f2f)
add_revision(mxml
URL http://www.paraview.org/files/dependencies/mxml-2.9.tar.gz
URL_MD5 e21cad0f7aacd18f942aa0568a8dee19
)
set(ispc_file "")
set(ispc_md5 "")
if (WIN32)
......
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