Commit 476d16ae authored by Ben Boeckel's avatar Ben Boeckel
Browse files

itk: use superbuild-provided libraries where possible

parent c09f1706
......@@ -7,6 +7,7 @@ endif()
superbuild_add_project(itk
DEPENDS cxx11
DEPENDS_OPTIONAL hdf5 vxl png zlib eigen
${environment}
CMAKE_ARGS
# Build what you need
......@@ -17,6 +18,12 @@ superbuild_add_project(itk
-DITK_BUILD_DOCUMENTATION:BOOL=OFF
-DITK_WRAP_PYTHON:BOOL=OFF
-DITK_SKIP_PATH_LENGTH_CHECKS:BOOL=ON
# Using ITK doesn't work quite right.
#-DITK_USE_SYSTEM_EIGEN:BOOL=${eigen_enabled}
-DITK_USE_SYSTEM_HDF5:BOOL=${hdf5_enabled}
-DITK_USE_SYSTEM_PNG:BOOL=${png_enabled}
-DITK_USE_SYSTEM_VXL:BOOL=${vxl_enabled}
-DITK_USE_SYSTEM_ZLIB:BOOL=${zlib_enabled}
-DCMAKE_INSTALL_LIBDIR:STRING=lib
)
......
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