Commit 0cf70baf authored by Utkarsh Ayachit's avatar Utkarsh Ayachit Committed by Ben Boeckel
Browse files

vtkIOODBC: update to the new module system

parent 4a4ba571
find_package(ODBC REQUIRED)
set(ODBC_SRCS
vtkODBCDatabase.cxx
vtkODBCQuery.cxx
vtkIOODBC_AutoInit.cxx
)
include_directories(${ODBC_INCLUDE_DIRECTORIES})
vtk_module_library(vtkIOODBC ${ODBC_SRCS})
vtk_module_link_libraries(vtkIOODBC LINK_PRIVATE ${ODBC_LIBRARIES})
set(classes
vtkODBCDatabase
vtkODBCQuery)
vtk_module_add_module(VTK::IOODBC
CLASSES ${classes}
SOURCES vtkIOODBC_AutoInit.cxx)
vtk_module_find_package(PACKAGE ODBC)
vtk_module_link(VTK::IOODBC
PRIVATE
ODBC::ODBC)
vtk_module(vtkIOODBC
TEST_DEPENDS
vtkTestingCore
KIT
vtkIO
DEPENDS
vtkIOSQL
PRIVATE_DEPENDS
vtkCommonCore
vtksys
)
\ No newline at end of file
NAME
VTK::IOODBC
LIBRARY_NAME
vtkIOODBC
KIT
VTK::IO
DEPENDS
VTK::IOSQL
PRIVATE_DEPENDS
VTK::CommonCore
VTK::vtksys
TEST_DEPENDS
VTK::TestingCore
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