Commit df3d53be authored by Ben Boeckel's avatar Ben Boeckel

cmake: add hidden value for testing system smtk

parent 5f77d359
......@@ -322,6 +322,8 @@ elseif (CMB_SUPERBUILD_MODE STREQUAL "DEVELOPER")
set_property(CACHE ENABLE_smtk_BUILD_MODE
PROPERTY
VALUE Developer)
elseif (CMB_SUPERBUILD_MODE STREQUAL "DEVELOPMENT")
# If this is set, let the options through unmodified.
else ()
message(FATAL_ERROR "Unrecognized superbuild mode: ${CMB_SUPERBUILD_MODE}")
endif ()
......
......@@ -11,8 +11,8 @@ endif ()
set(CMB_TEST_DATA_ROOT "" CACHE PATH "Location of CMB's testing data")
add_external_project_or_just_build_dependencies(cmb
DEPENDS boost remus vxl kml gdal qt python paraview molequeue smtk
DEPENDS_OPTIONAL moab triangle
DEPENDS boost remus vxl kml gdal qt python paraview molequeue
DEPENDS_OPTIONAL moab triangle smtk
CMAKE_ARGS
${extra_cmake_args}
-DKML_DIR:PATH=<INSTALL_DIR>
......
......@@ -65,4 +65,5 @@ if(shiboken_ENABLED)
endif()
add_extra_cmake_args(
-DSMTK_DIR:PATH=<INSTALL_DIR>/lib/cmake/SMTK)
-DSMTK_DIR:PATH=<INSTALL_DIR>/lib/cmake/SMTK
-DUSE_SYSTEM_SMTK:BOOL=ON)
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