summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-11-04 14:36:33 (GMT)
committerBrad King <brad.king@kitware.com>2003-11-04 14:36:33 (GMT)
commit2480a83debf35ce4c76f0a3f0e2b0765bf39337a (patch)
tree380393272fa5b29bb51f9a1bc0eafb295089f937 /Modules
parent37bbb27bfaba02f7dfc93e5cf7694366206ca9c5 (diff)
downloadCMake-2480a83debf35ce4c76f0a3f0e2b0765bf39337a.zip
CMake-2480a83debf35ce4c76f0a3f0e2b0765bf39337a.tar.gz
CMake-2480a83debf35ce4c76f0a3f0e2b0765bf39337a.tar.bz2
ENH: Adding registry entries to search path.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindTclsh.cmake5
-rw-r--r--Modules/FindWish.cmake5
2 files changed, 10 insertions, 0 deletions
diff --git a/Modules/FindTclsh.cmake b/Modules/FindTclsh.cmake
index 81898b4..5a7e68a 100644
--- a/Modules/FindTclsh.cmake
+++ b/Modules/FindTclsh.cmake
@@ -20,6 +20,11 @@ FIND_PROGRAM(TCL_TCLSH
tclsh83 tclsh8.3
tclsh82 tclsh8.2
tclsh80 tclsh8.0
+ PATHS
+ [HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.4;Root]/bin
+ [HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.3;Root]/bin
+ [HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.2;Root]/bin
+ [HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.0;Root]/bin
)
IF (WIN32)
diff --git a/Modules/FindWish.cmake b/Modules/FindWish.cmake
index 846c66a..16cbd8f 100644
--- a/Modules/FindWish.cmake
+++ b/Modules/FindWish.cmake
@@ -13,6 +13,11 @@ ENDIF(UNIX)
FIND_PROGRAM(TK_WISH
NAMES wish wish84 wish8.4 wish83 wish8.3 wish82 wish8.2 wish80
+ PATHS
+ [HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.4;Root]/bin
+ [HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.3;Root]/bin
+ [HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.2;Root]/bin
+ [HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.0;Root]/bin
)
IF (WIN32)