Skip to content
  • jcfr's avatar
    COMP: Move most of find_package calls into each Slicer sub-project. · f0f0df61
    jcfr authored
    To help address issue #3741 [1], call to find_package associated to CTK,
    DCMTK, ITK and SlicerExecutionModel have been moved in every Slicer
    sub project, library or module expecting it.
    
    This allows to reduce both the number of include directories and
    the number of libraries passed to the compiler.
    
    Moving forward, every Slicer sub project, library or module will be
    responsible to call find_package (optionally specifying a list of
    components) and (if it applies) include the associated "use file".
    
    Note that call to find_package(VTK) is still done at the top-level, before
    moving the call to the expected sub-directories, the CTKConfig.cmake
    will have to be updated to call find_package(VTK) specifying the required
    components where it is needed.
    
    [1] http://na-mic.org/Mantis/view.php?id=3741
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@23413 3bd1e089-480b-0410-8dfb-8563597acbee
    f0f0df61