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

vtkInfovisBoost: update to the new module system

parent af0380b1
vtk_module_export_info()
set(Module_HDRS
vtkVariantBoostSerialization.h
)
if(NOT VTK_INSTALL_NO_DEVELOPMENT)
install(FILES ${Module_HDRS}
DESTINATION ${VTK_INSTALL_INCLUDE_DIR}
COMPONENT Development
)
endif()
set(headers
vtkVariantBoostSerialization.h)
vtk_module_add_module(VTK::InfovisBoost
HEADERS ${headers}
HEADER_ONLY)
vtk_module_find_package(
PACKAGE Boost
COMPONENTS serialization
FORWARD_VERSION_REQ EXACT
VERSION_VAR "@Boost_MAJOR_VERSION@.@Boost_MINOR_VERSION@.@Boost_SUBMINOR_VERSION@")
vtk_module_link(VTK::InfovisBoost
INTERFACE
Boost::serialization)
find_package(Boost REQUIRED
COMPONENTS serialization
)
include_directories(${Boost_INCLUDE_DIRS})
vtk_add_test_cxx(vtkInfovisBoostCxxTests tests
NO_DATA NO_VALID NO_OUTPUT
TestVariantSerialization.cxx
)
vtk_test_cxx_executable(vtkInfovisBoostCxxTests tests)
vtk_module_link_libraries(vtkInfovisBoostCxxTests LINK_PRIVATE ${Boost_SERIALIZATION_LIBRARY})
vtk_module(vtkInfovisBoost
TEST_DEPENDS
vtkTestingCore
vtkCommonCore
EXCLUDE_FROM_WRAPPING
DEPENDS
vtkCommonCore
)
\ No newline at end of file
NAME
VTK::InfovisBoost
LIBRARY_NAME
vtkInfovisBoost
DEPENDS
VTK::CommonCore
TEST_DEPENDS
VTK::TestingCore
EXCLUDE_WRAP
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