Commit 4f651f06 authored by Robert Maynard's avatar Robert Maynard

Correct smtk to explicitly depend on gdal so we properly find gdal.

SMTK vtk extension has conditional classes that require gdal. This
makes sure that we always find gdal.
parent 1349d728
......@@ -21,10 +21,12 @@ endif ()
set(SMTK_DATA_DIR "" CACHE PATH "Location of SMTK's testing data")
#explicitly depend on gdal so we inherit the location of the GDAL library
#which FindGDAL.cmake fails to find, even when given GDAL_DIR.
superbuild_add_project(smtk
DEVELOPER_MODE
DEBUGGABLE
DEPENDS boost cxx11 qt4 shiboken paraview python remus hdf5 zeromq
DEPENDS boost cxx11 qt4 shiboken paraview python remus hdf5 zeromq gdal
DEPENDS_OPTIONAL moab netcdf cgm
CMAKE_ARGS
${smtk_extra_cmake_args}
......@@ -55,6 +57,9 @@ superbuild_add_project(smtk
-DNETCDF_ROOT:PATH=<INSTALL_DIR>
-DParaView_DIR:PATH=${paraview_dir}
# GDAL bits to properly enable gdal classes ( mainly wrapper )
# that we need to build
-DGDAL_DIR:PATH=<INSTALL_DIR>
-DSMTK_FIND_SHIBOKEN:STRING=)
......
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