You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
561 B
12 lines
561 B
package ifneeded {@PROJECT_NAME@TCL} {@VTK_MAJOR_VERSION@.@VTK_MINOR_VERSION@} {
|
|
if {@VTKLOCAL_BUILD_SHARED_LIBS_CONFIG@} {
|
|
package require -exact vtkinit {@VTK_MAJOR_VERSION@.@VTK_MINOR_VERSION@}
|
|
foreach kit {@VTKLOCAL_KITS@} {
|
|
package require -exact "${kit}TCL" {@VTK_MAJOR_VERSION@.@VTK_MINOR_VERSION@}
|
|
}
|
|
::vtk::init::load_library_package {@PROJECT_NAME@TCL} {@VTKLOCAL_TCL_LIBRARY_DIR@}
|
|
} else {
|
|
error {Error loading @PROJECT_NAME@TCL. @PROJECT_NAME@ must be built\
|
|
with shared libraries for loading as a Tcl package.}
|
|
}
|
|
}
|
|
|