Commit 6a43703b authored by Robert Maynard's avatar Robert Maynard Committed by Kitware Robot

Merge topic 'smtk_now_finds_gdal'

4f651f06 Correct smtk to explicitly depend on gdal so we properly find gdal.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !168
parents 1349d728 4f651f06
......@@ -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