CMakeLists.txt 367 Bytes
Newer Older
1
# set up sources to build
2 3 4 5
set(classes
  vtkQtSQLDatabase
  vtkQtSQLQuery
  vtkQtTimePointUtility
6 7
  )

8 9
vtk_module_add_module(VTK::GUISupportQtSQL
  CLASSES ${classes})
10

11 12 13 14 15 16
vtk_module_find_package(
  PACKAGE     Qt5
  COMPONENTS  Widgets Sql
  FORWARD_VERSION_REQ MINOR
  VERSION_VAR         Qt5_VERSION)
vtk_module_link(VTK::GUISupportQtSQL PUBLIC Qt5::Sql Qt5::Widgets)