Permalink
Browse files

ENH: ITKv4 install

ITKv4 changed the installation parameters.

1) GDCM install COMPONENT for runtime is "Libraries"
2) HDF5 install COMPONENT for runtime is "libraries"
   and, until ITK 4.2, the COMPONENT "Unspecified" is needed.
3) ITK_INSTALL_NO_DEVELOPMENT must be ON to supress include files.



git-svn-id: http://svn.slicer.org/Slicer4/trunk@20450 3bd1e089-480b-0410-8dfb-8563597acbee
  • Loading branch information...
1 parent f429596 commit 335ffb49784cd15d1b908af6b7eeae4514032b9c lorensen committed Jun 21, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −1 CMake/SlicerBlockInstallCMakeProjects.cmake
  2. +1 −0 SuperBuild/External_ITKv4.cmake
@@ -15,7 +15,8 @@ set(CPACK_INSTALL_CMAKE_PROJECTS "${CPACK_INSTALL_CMAKE_PROJECTS};${ITK_DIR};ITK
# GDCM
set(CPACK_INSTALL_CMAKE_PROJECTS "${CPACK_INSTALL_CMAKE_PROJECTS};${ITK_DIR};ITK;Libraries;/")
# HDF5
- set(CPACK_INSTALL_CMAKE_PROJECTS "${CPACK_INSTALL_CMAKE_PROJECTS};${ITK_DIR};ITK;Runtime;/")
+ set(CPACK_INSTALL_CMAKE_PROJECTS "${CPACK_INSTALL_CMAKE_PROJECTS};${ITK_DIR};ITK;libraries;/")
+ # HDF5 until ITK4. final, then it can be removed
set(CPACK_INSTALL_CMAKE_PROJECTS "${CPACK_INSTALL_CMAKE_PROJECTS};${ITK_DIR};ITK;Unspecified;/")
endif()
endif()
@@ -85,6 +85,7 @@ if(NOT DEFINED ITK_DIR)
-DITK_USE_REVIEW:BOOL=ON
-DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
-DBUILD_SHARED_LIBS:BOOL=ON
+ -DITK_INSTALL_NO_DEVELOPMENT:BOOL=ON
-DITK_BUILD_ALL_MODULES:BOOL=ON
-DITKV3_COMPATIBILITY:BOOL=ON
-DKWSYS_USE_MD5:BOOL=ON # Required by SlicerExecutionModel

0 comments on commit 335ffb4

Please sign in to comment.