Skip to content

Add find_package call to module export code

Sankhesh Jhaveri requested to merge sankhesh/vtk:qt4_export_options into master

This change allows apps using VTK modules to find the dependencies irrespective of whether the FindPackage module for that package provides a Package_DIR variable.

Without this change, the generated vtkGUISupportQt.cmake would not have a find_package(Qt4 ...) call since FindQt4() does not define Qt4_DIR variable.

Merge request reports