Commit aac07ca5 authored by David Partyka's avatar David Partyka
Browse files

Adjust tcl path to work in an install tree using forwarding executables.

In this case the vtk executable is in lib rather than bin, thus special considerations must be made so that it can find the vtk tcl package in lib/vtk-<blah>/tcl. Thanks to Brad King for helping figure this out.

Change-Id: Ib326b08357d342e2c82df62733f66b0675cfcbc0
parent 98ae0f96
...@@ -338,6 +338,7 @@ int Tcl_AppInit(Tcl_Interp *interp) ...@@ -338,6 +338,7 @@ int Tcl_AppInit(Tcl_Interp *interp)
*/ */
static char script[] = static char script[] =
"foreach dir [list " "foreach dir [list "
" [file dirname [file dirname [info nameofexecutable]]]"
#if defined(CMAKE_INTDIR) #if defined(CMAKE_INTDIR)
" [file join [file dirname [file dirname [file dirname [info nameofexecutable]]]] Wrapping Tcl " CMAKE_INTDIR "]" " [file join [file dirname [file dirname [file dirname [info nameofexecutable]]]] Wrapping Tcl " CMAKE_INTDIR "]"
#else #else
......
Supports Markdown
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