summaryrefslogtreecommitdiffstats
path: root/Modules/FindTclStub.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-10-01 18:19:20 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-10-01 18:19:20 (GMT)
commitad63a47d028f20edab8f990e84678989dee197df (patch)
tree51e7af3eaf4bbfa02ad34189f74aa86af940a966 /Modules/FindTclStub.cmake
parent6a1a1b632d56d212226fc17e6aced259add362de (diff)
downloadCMake-ad63a47d028f20edab8f990e84678989dee197df.zip
CMake-ad63a47d028f20edab8f990e84678989dee197df.tar.gz
CMake-ad63a47d028f20edab8f990e84678989dee197df.tar.bz2
BUG: fix for 7451
Diffstat (limited to 'Modules/FindTclStub.cmake')
-rw-r--r--Modules/FindTclStub.cmake12
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