BUG: fix for 7451

This commit is contained in:
Bill Hoffman 2008-10-01 14:19:20 -04:00
parent 6a1a1b632d
commit ad63a47d02
1 changed files with 12 additions and 0 deletions

View File

@ -8,6 +8,7 @@
# This code sets the following variables:
# TCL_STUB_LIBRARY = path to Tcl stub library
# TK_STUB_LIBRARY = path to Tk stub library
# TTK_STUB_LIBRARY = path to ttk stub library
#
# In an effort to remove some clutter and clear up some issues for people
# who are not necessarily Tcl/Tk gurus/developpers, some variables were
@ -101,6 +102,17 @@ FIND_LIBRARY(TK_STUB_LIBRARY
PATHS ${TCLTK_POSSIBLE_LIB_PATHS}
)
FIND_LIBRARY(TTK_STUB_LIBRARY
NAMES
ttkstub
ttkstub${TCL_LIBRARY_VERSION} ttkstub${TCL_TCLSH_VERSION} ttkstub${TK_WISH_VERSION}
ttkstub88 ttkstub8.8
ttkstub87 ttkstub8.7
ttkstub86 ttkstub8.6
ttkstub85 ttkstub8.5
PATHS ${TCLTK_POSSIBLE_LIB_PATHS}
)
MARK_AS_ADVANCED(
TCL_STUB_LIBRARY
TK_STUB_LIBRARY