Commit d77349c8 authored by Yumin Yuan's avatar Yumin Yuan Committed by Kitware Robot

Merge topic 'enable_moab_option'

00677e0f Add ENABLE_moab in superbuild and link it to smtk option
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: Robert Maynard's avatarRobert Maynard <robert.maynard@kitware.com>
Merge-request: !46
parents ac4e75e4 00677e0f
......@@ -16,6 +16,7 @@ macro (SetupCMBSuperBuild)
ENABLE_hdf5
ENABLE_libxml2
ENABLE_manta
ENABLE_moab
ENABLE_molequeue
ENABLE_mpi
ENABLE_png
......
add_external_project_or_just_build_dependencies(smtk
DEPENDS boost qt shiboken paraview remus
DEPENDS_OPTIONAL moab
CMAKE_ARGS
${extra_cmake_args}
-DBUILD_SHARED_LIBS:BOOL=ON
......@@ -11,6 +12,7 @@ add_external_project_or_just_build_dependencies(smtk
-DSMTK_ENABLE_EXODUS_SESSION:BOOL=ON
-DSMTK_ENABLE_REMOTE_SESSION:BOOL=ON
-DSMTK_ENABLE_REMUS_SUPPORT:BOOL=ON
-DSMTK_ENABLE_MOAB_SUPPORT:BOOL=${moab_ENABLED}
-DParaView_DIR:PATH=${SuperBuild_BINARY_DIR}/paraview/src/paraview-build/
-DSMTK_ENABLE_PYTHON_WRAPPING:BOOL=${shiboken_ENABLED}
......
......@@ -21,6 +21,7 @@ set(SMTK_DATA_DIR "" CACHE PATH "Location of SMTK's testing data")
add_external_project_or_just_build_dependencies(smtk
DEPENDS boost qt shiboken paraview remus
DEPENDS_OPTIONAL moab
CMAKE_ARGS
${extra_cmake_args}
"-C${CMAKE_BINARY_DIR}/env.cmake"
......@@ -34,6 +35,7 @@ add_external_project_or_just_build_dependencies(smtk
-DSMTK_ENABLE_REMOTE_SESSION:BOOL=ON
-DSMTK_ENABLE_REMUS_SUPPORT:BOOL=ON
-DSMTK_ENABLE_PYTHON_WRAPPING:BOOL=${shiboken_ENABLED}
-DSMTK_ENABLE_MOAB_SUPPORT:BOOL=${moab_ENABLED}
-DCMAKE_INSTALL_LIBDIR:STRING=${smtk_libdir}
-DSMTK_DATA_DIR:PATH=${SMTK_DATA_DIR}
......
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