diff options
Diffstat (limited to 'Modules/FindTclStub.cmake')
-rw-r--r-- | Modules/FindTclStub.cmake | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Modules/FindTclStub.cmake b/Modules/FindTclStub.cmake index 788dbe4..196d57b 100644 --- a/Modules/FindTclStub.cmake +++ b/Modules/FindTclStub.cmake @@ -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 |