Commit 31857c7e authored by David Partyka's avatar David Partyka
Browse files

Merge branch 'vtkconfig-vtk-libraries' into release

parents 53e1a2c8 36414a53
......@@ -6,6 +6,11 @@ VTK_MAKE_INSTANTIATOR3(vtk${KIT}Instantiator KitInstantiator_SRCS
VTK_ADD_LIBRARY(vtk${KIT} ${Kit_SRCS} ${Kit_EXTRA_SRCS} ${KitInstantiator_SRCS})
SET(KIT_LIBRARY_TARGETS ${KIT_LIBRARY_TARGETS} vtk${KIT})
# accumulate list of kit library target names
# we export these in VTKConfig as VTK_LIBRARIES.
set_property(GLOBAL APPEND PROPERTY VTK_LIBRARIES vtk${KIT})
# Add target specific compile flags for ABI setttings
IF(VTK_ABI_CXX_FLAGS)
SET_PROPERTY(TARGET vtk${KIT} APPEND
......
......@@ -12,7 +12,7 @@
GET_PROPERTY(VTK_TARGETS GLOBAL PROPERTY VTK_TARGETS)
EXPORT(TARGETS ${VTK_TARGETS} FILE ${VTK_BINARY_DIR}/${VTK_INSTALL_EXPORT_NAME}.cmake)
INSTALL(EXPORT ${VTK_INSTALL_EXPORT_NAME} DESTINATION ${VTK_INSTALL_LIB_DIR_CM24})
GET_PROPERTY(VTK_LIBRARIES GLOBAL PROPERTY VTK_LIBRARIES)
#-----------------------------------------------------------------------------
# Create the VTKConfig.cmake file containing the VTK configuration.
# Since it might generate configuration file depending
......
......@@ -6,6 +6,9 @@
# to load VTK's settings for an external project.
@VTK_CONFIG_INSTALL_ONLY@
# The set of VTK libraries
SET(VTK_LIBRARIES "@VTK_LIBRARIES@")
# The VTK include file directories.
SET(VTK_INCLUDE_DIRS "@VTK_INCLUDE_DIRS_CONFIG@")
......
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