summaryrefslogtreecommitdiffstats
path: root/Modules/FindWish.cmake
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/FindWish.cmake
parent37bbb27bfaba02f7dfc93e5cf7694366206ca9c5 (diff)
downloadCMake-2480a83debf35ce4c76f0a3f0e2b0765bf39337a.zip
CMake-2480a83debf35ce4c76f0a3f0e2b0765bf39337a.tar.gz
CMake-2480a83debf35ce4c76f0a3f0e2b0765bf39337a.tar.bz2
ENH: Adding registry entries to search path.
Diffstat (limited to 'Modules/FindWish.cmake')
-rw-r--r--Modules/FindWish.cmake5
1 files changed, 5 insertions, 0 deletions
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)