diff options
author | Brad King <brad.king@kitware.com> | 2003-11-04 14:36:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-11-04 14:36:33 (GMT) |
commit | 2480a83debf35ce4c76f0a3f0e2b0765bf39337a (patch) | |
tree | 380393272fa5b29bb51f9a1bc0eafb295089f937 /Modules | |
parent | 37bbb27bfaba02f7dfc93e5cf7694366206ca9c5 (diff) | |
download | CMake-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.cmake | 5 | ||||
-rw-r--r-- | Modules/FindWish.cmake | 5 |
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) |